Skip to main content
Skip table of contents

Pause

Pause: Defines a waiting time in a process; After a specified duration or on a specific date and time, the process execution is resumed. The Pause component receives an input by the preceding process action, and outputs it without any changes to the following process action.

Properties

Label

Label of the symbol within the process diagram

Duration

Pause duration

Possible values:

  • Any duration specifying days, hours, minutes, seconds, and milliseconds

  • 9999d 23h 59m 59s 999ms: maximum waiting time of the Pause component

  • 0d 0h 0m 0s 0ms: no waiting time (default)

(info) Alternatively, you can define an end date for the pause in the format yyyy-MM-dd hh:mm:ss using the option Until, e.g., 2010-08-30T01:55:10)

To define a pause duration, double-click the Pause component or click on Duration > 

 within the Properties view. Then specify the duration in the dialog that opens.

 

Dynamically Parameterizing the Pause Component

The Pause component can also be parameterized dynamically using its technical parameters sleep_time and sleep_until.

  • Dynamic parameterization via sleep_time
    In the following example, the Pause component is parameterized to a pause duration of 5 seconds:

    Dynamical parameterization via sleep_time

    XML
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
      <xsl:output method="xml" media-type="text/xml"></xsl:output>
      <xsl:template match="/">
      	<!-- Pause duration 5 seconds / used format "0(d):0(h):0(m):0(s).0(ms)"-->
      	<xsl:processing-instruction name="DynamicParameter">
      		<xsl:text>sleep_time="0:0:0:5.0"</xsl:text>
      	</xsl:processing-instruction>  
      	<Empty></Empty>
        <!-- <xsl:processing-instruction name="NoResult"></xsl:processing-instruction> -->
      </xsl:template>
    </xsl:stylesheet>

  • Dynamic parameterization via sleep_until
    In the following example, the Pause component is parameterized to the current date and time plus 1 minute and 15 seconds:

    Dynamic parameterization via sleep_until

    XML
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="2.0">
      <xsl:output method="xml" media-type="text/xml"></xsl:output>
      <xsl:template match="/">
      	<xsl:processing-instruction name="DynamicParameter">
      		<xsl:text>sleep_until="</xsl:text>
      			<xsl:value-of select="format-dateTime(current-dateTime()+ xs:dayTimeDuration('PT0H1M15S'),'[Y0001]-[M01]-[D01] [H10]:[m01]:[s01]')"></xsl:value-of>
      		<xsl:text>"</xsl:text>
      	</xsl:processing-instruction>
      <!-- <Empty></Empty> -->
      <xsl:processing-instruction name="NoResult"></xsl:processing-instruction>
      </xsl:template>
    </xsl:stylesheet>

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.