Hello everyone, could you tell me if there is a formula in PQL where I can get the top 1 activities of a document?
Example, the Purchase Requisition, had several repetitive reworks, I would like to pick the top 1 rework.
Hello everyone, could you tell me if there is a formula in PQL where I can get the top 1 activities of a document?
Example, the Purchase Requisition, had several repetitive reworks, I would like to pick the top 1 rework.
Hi @douglas.henri,
The function that will help you is INDEX_ACTIVITY_TYPE (celonis.com), but you need some steps to get the result that you want.
PU_FIRST(
CASE_TABLE()
, ACTIVITY_COLUMN ( )
, ORDER BY INDEX_ACTIVITY_TYPE ( ACTIVITY_COLUMN ( ) ) DESC
)
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.