Parallel activity in workflow for approval and timer

vs6242424
Tera Contributor

Hi,

We are trying to implement a parallel activity scenario for Timer and Approval in a Catalog Task workflow.

Requirement:

  • If the timer expires and the approval is not approved, the workflow should create a Catalog Task.
  • If the approval is approved, then the timer should not create the Catalog Task, and the workflow should move to the next activity immediately, without waiting for the timer to complete.

Thanks in advance. A quick reply would really help us.

 

Thanks.

1 REPLY 1

TharaS657398130
Giga Guru

Hey

This requirement is basically about running Approval and Timer in parallel and whichever completes first should control the flow.

In simple terms: configure both activities in parallel, then use a condition check after them—if the approval is completed (approved/rejected), move the workflow forward immediately and ignore the timer; if the timer completes first and the approval is still pending, then create the Catalog Task. To achieve this, you typically need a check (via script/condition) that looks at the approval state before executing the timer path, so the timer only creates the task when approval is not done. In short, approval should “override” the timer, and the timer should act only as a fallback if approval doesn’t happen in time.