Hi,
I have a requirement to send a notification to a DL after all Max attempts are completed in a dedicated queue processor. How can I get the count of retries during the execution of queue processor activity?
Hi,
I have a requirement to send a notification to a DL after all Max attempts are completed in a dedicated queue processor. How can I get the count of retries during the execution of queue processor activity?
Mukkram
We don't see any OOTB extension point to implement our business scenario. So we might need to end up with custom logic .
Attempts in a queue will be maintained in two properties,
pyAttempts: Current attempt (Counter variable that system keeps updating)
pyMaxAttempts: Maximum number of attempts (Initially we set during queue process)
We can add the below logic in our queue processor activity to implement our logic.
Let us know if this works.
Hi Team,
I have set max attempts to 3 in QP. so inside QP activity based on some conditions i set the activity status to fail . so when it requeues based on initial delay which is 3min, while executing QP activity for second attempt, how will i know what is the current retry attempt. we dont see pyattempts property on primary page when QP activity is running so how can we identify which is the correct attempt
-An Initiative Of OneStopPega- Love our work? Support Us🖤