Replace keyword text during run time
You can use keywords to replace text in work instructions and email subjects and bodies. This text is replaced with keyword values in a workflow at run time.
Procedure
- In the navigator, click .
- In the resource list, select the workflow that you want to work with. If no workflow exists, create a new workflow.
- In the Displays panel, click .
- Click the Workflow Editor tab.
-
Drag and drop a Local Subprocess into the workflow and
double-click it, or double-click an existing subprocess.
Note: If required, configure the workflow.
-
There are two types of keyword activities you can use.
Insert... To... Replace Keywords replace keywords in a block of text. Go to step 7. Update Work Instruction Keywords ensure that the change in the value of a workflow variable is reflected in the work instruction text. Go to step 8. -
To use the Replace Keywords activity, perform the following procedure.
-
To automatically update keywords in work instructions when the workflow begins, insert
the Update Work Instruction Keywords activity.
Note: This activity is used only if the values in a work instruction should be updated during the execution of a task step.
- Click Save.