Jump to: navigation, search

Executable Elements

Note: The following pages include more information on how to use the <script> tag in the Execution Block.

<log>

Provides the ability to log information or text to the deployment log file. This can be useful for debugging purposes.

Attributes

Name

Type

Description

Default

Values

msg

string (required)

Specifies the text message to log to the deployment log file.

<notice>

Provides the ability to log a notice to the deployment action log. This can be useful for showing information to the user as the SPD is executed. The following is an example of its usage:

<notice msg="${'Variable Contains:' + someVar}" />

Attributes

Name

Type

Description

Default

Values

msg

string (required)

Specifies the text message to log in the deployment action log.

<script>

This tag can define JavaScript snippets or functions to manipulate variables as defined by <input> and action elements.

You can use tags within JavaScript code snippets by closing and then reopening the script snippet. The following is an example:

    <script>
        for (var i = 0; i < 9; i++) {
    </script>
            <notice msg="${'Number is: '+i}"/>
    <script>
        }
    </script>

Within the script tag, the use of < and > is restrictive. Use XML escaping if these characters are required.

For further details, see JavaScript Usage. This tag has no attributes or children.

<sleep>

Defines a time interval for which execution is paused.

Attributes

Name

Type

Description

Default

Values

time

integer (required)

Specifies the amount of time in seconds to wait before continuing execution.

This page was last modified on March 5, 2014, at 14:57.

Feedback

Comment on this article:

blog comments powered by Disqus