Adding a Set Value

About this task

Icon for the Set Value activity

Use the Set Value activity to add and update workflow variables and map them to SOTI Snap form fields.
Important: This is the only Activity where you can change form fields using workflow variables.

Procedure

  1. In the Workflow Canvas, open the Project tab.
  2. Select the Workflow dropdown. The Workflow Designer opens.
  3. Open the Activities tab.
  4. Drag the Set Value workflow activity onto the Workflow Designer.
  5. In the Properties panel, enter a name for the activity in the Display Text field. The name appears on the icon in the workflow.
  6. In the Set Value menu, select Update Field Mapping.
  7. From the Set Fields Mapping dialog that displays, select Next.
  8. Optional: Select Add to create a new workflow variable. From the Add Workflow Variable dialog box, enter the following:
    1. Variable Name: Enter a name for the workflow variable.
    2. Description: Enter a description for the workflow variable.
    3. Value: Enter the value for the workflow variable.
  9. Map SOTI Snap Workflow Variables to SOTI Snap Form Fields. Once you have finished mapping, select Finish.
    Restriction: When mapping, each form field can receive up to a single workflow variable. However, you can assign each workflow variable to as many form fields as you like.
    Remember: Once you map a workflow variable to a form field, any automatic change to the workflow variable's value is automatically applied to the form field. The workflow variable can automatically change by Script or Rest API. However, any change to the form field (such as by the device user's input) does not change the workflow variable.