CompleteAssignmentTrigger

Node Action:

This is a workflow trigger that places a button under the workflow section in the work request details. When the button is pushed it marks the assignment as completed and begins the workflow.

Parameters:

se_type

CompleteAssignmentTrigger

se_type = CompleteAssignmentTrigger

se_visibilityCondition

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

Contains code that must return a bool indicating when the workflow button should be visible in the work request details' workflow section.

se_displayName

The display name of the workflow button in work request details.

se_iconUrl

The URL for the icon of the workflow button in work request details.

se_iconService

The service for the icon of the workflow button in work request details.

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 in work request details.

Example

Complete Assignment with Icon Url: This example illustrates how to properly use the CompleteAssignmentTrigger node action, where the icon is defined by a URL.

digraph workflow {

  entry[
    se_type0 = CompleteAssignmentTrigger,
    se_displayName0 = "Complete Assignment"
    se_iconUrl0 = "https://mysubscription.blob.core.windows.net/img/assignmentIcon.png"
    se_requiresConnection0 = false,
    se_sortOrder0 = 100,
    se_visibilityCondition0 = "(ctx, log) => {
      return true;
    }"
  ]
  
  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.