ComponentToolTrigger

Node Action:

This is a workflow trigger that places a button on the click wheel under Tasks when a single component is selected.

Parameters:

se_type

ComponentToolTrigger

se_type = ComponentToolTrigger

se_visibilityCondition

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

Contains code that must return a bool indicating when the task button should be visible on the click wheel.

se_displayName

The display name of the task button on the click wheel.

se_iconUrl

The URL for the icon of the task button on the click wheel.

se_iconService

The service for the icon of the task button on the click wheel.

se_requiresConnection

A bool to require internet connectivity to enable the button.

se_sortOrder

The order in which the workflow button appears in the list of buttons on the click wheel.

Example

Component Tool Trigger: This example illustrates how to properly use the ComponentToolTrigger node action.

digraph workflow {

  entry[
    se_type0 = ComponentToolTrigger,
    se_displayName0 = "Update Manufacturer"
    se_requiresConnection0 = false,
    se_sortOrder0 = 100,
    se_visibilityCondition0 = "(dynamicStateMachineContext, msLogger) => {
      return dynamicStateMachineContext.Event.component.workflowState == \"Existing\";
    }"
  ]
  
  exit[
    shape = invhouse, 
    color = "#22FF44", 
    style = filled
  ]
  
  entry -> exit
}
Feedback
QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.