Skip to main content
Question

Automation rate

  • January 19, 2026
  • 1 reply
  • 33 views

kailash.potha12
Level 10
Forum|alt.badge.img+7

Hello Everyone,

I have a scenario where I need to calculate the automation rate of a process. However, there is a specific condition: I need to exclude all activities that occur between the Approval Task Start and Approval Task End. These approval segments may appear multiple (N) times throughout the entire process.

Please let me know if you have encountered a similar situation before or if you have any recommended approach for handling this type of exclusion logic.

1 reply

manuel.wetze
Level 10
Forum|alt.badge.img+8
  • Level 10
  • January 22, 2026

Hi kailash,
indeed a tricky requirement the way you described it. I do not have a good solution but thought a few minutes about your problem maybe the direction helps you. As apparently there is no solutions so  far by someone else. So either way I want to subscribe to see if you come up with a proper solution at the end.

I’d consider the PQL functions under “Process” https://docs.celonis.com/en/process.html
Especially I was thinking around SOURCE-TARGET.
This unfortunately requires a specific offset to the activity Approval Task Start /End but maybe you can create messy case when Source (1 step) = ‘Approval Task Start” OR SOURCE (2 step) = ‘Approval Task Start” …. THEN NULL ELSE AUTOMATION Status.