MultiSessionToolTrigger

Node Action:

This node action is used in the entry node of a workflow to specify that when multiple sessions are selected in the Session Manager window, a button appears in the list of buttons under the Tasks section that triggers the workflow when clicked.

Parameters:

se_type

MultiSessionToolTrigger

se_type = MultiSessionToolTrigger

se_visibilityCondition

se_visibilityCondition = "(ctx, log) => { return false; }"

Contains code that must return a bool indicating when the workflow button should be visible in the respective list of buttons in Session Manager.

se_displayName

The display name of the workflow button in Session Manager.

se_iconUrl

The URL for the icon of the workflow button in Session Manager.

se_iconService

The service for the icon of the workflow button in Session Manager.

se_iconXaml

se_iconXaml = "
    <Canvas
        Width=\"20\"
        Height=\"20\"
        Margin=\"1\"
        SnapsToDevicePixels=\"True\">

        <!-- Insert Icon Components -->

    </Canvas>
"

The XAML for the icon of the workflow button in Session Manager.

se_sortOrder

The order in which the workflow button appears in the list of buttons in Session Manager.

se_showButtonText

Indicates whether the button text should show in the Session Manager window.

Example:

Multi Session Tool with Icon Xaml: This example illustrates how to properly use the MultiSessionToolTrigger node action where the icon is defined by XAML.

digraph workflow {
  
  entry[
    se_type0 = MultiSessionToolTrigger,
    se_displayName0 = "Multi-Session Tool #1"
    se_sortOrder0 = 0,
    se_iconXaml0 = "
                  <Canvas
                   Width=\"20\"
                   Height=\"20\"
                   Margin=\"1\"
                   SnapsToDevicePixels=\"True\">
                         <Path
                             Data=\"M 10,4 10,16\"
                             Stroke=\"{StaticResource SE_DarkGreenBrush}\"
                             StrokeEndLineCap=\"Round\"
                             StrokeStartLineCap=\"Round\"
                             StrokeThickness=\"4\" />
                         <Path
                             Data=\"M 4,10 16,10\"
                             Stroke=\"{StaticResource SE_DarkGreenBrush}\"
                             StrokeEndLineCap=\"Round\"
                             StrokeStartLineCap=\"Round\"
                             StrokeThickness=\"4\" />
                         <Path Stroke=\"{StaticResource SE_DarkGreenBrush}\" StrokeThickness=\"1\">
                             <Path.Data>
                                 <EllipseGeometry
                                     Center=\"10,10\"
                                     RadiusX=\"10\"
                                     RadiusY=\"10\" />
                             </Path.Data>
                         </Path>
                   </Canvas>
     ",
    se_visibilityCondition0 = "(ctx, log) => {
      return true;
    }",
  ]
  
  exit[
    shape = invhouse, 
    color = "#22FF44", 
    style = filled
  ]

  entry -> exit
}
QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?