Pages

Wednesday, October 26, 2011

How can one start a specific workflow from a button within a field area?


Question
How can one start a specific workflow from a button within a field area?
Cause
Here is a simple example of how you can start a workflow from a simple button within the application field area.
Answer
4Application: Incidents
Step 1
Create the workflow you want to start, otherwise you can use any active workflow you have.
For our example, we will create a simple workflow which has as action Create Workorder
The action on the workflow:

Step 2
Go to Application Designer → Incident
Drag and drop from Control Palette a Button Group within the area where you want to have your button:

Step 3:
Click on your button and then click on Control Properties.
Here are the settings for your button:
Label: Create WO
Event = ROUTEWF
Value = CREATEWO (or any name of the workflow you want to start)

Step 4
Check your results:


No comments:

Post a Comment