Antoine_Sauteron_1266

Check if a task has already been started and launch it if it has not

Discussion created by Antoine_Sauteron_1266 on Oct 4, 2016
Latest reply on Oct 14, 2016 by Antoine_Sauteron_1266
These 3 script functions allow you to verify if a task or a workflow is already active:
Let's say I want to start my workflow JOBP.COMMUNITY if it's not already running. It would look like this:
:IF SYS_STATE_ACTIVE(JOBP.COMMUNITY)= 'N'
:  SET &ACT# = ACTIVATE_UC_OBJECT(JOBP.COMMUNITY)
:ENDIF

Outcomes