You can use the When Completed tab to define the action, which is executed on the completion of the Activity workstep.
1. You can use the Execute script box to define the event, which is executed on completion of the workstep.
To define the event, click Add Script. The Graphical Event Logic (GEL) tool appears with the defined event. You can use this tool to configure the action to be executed. For more information, see Using the GEL tool in BPM projects.