Thanks for your reply, Robert.
I thought about this, but in this case, I need to synchronize Max Attempt defined in the contact list with Max Attempts defined in the Attempts Control manually.
Moreover, if I set different Number of Recall Attempts for different Recall Types, I can't simply compare that the current attempt is equal to the max attempt to determine that this attempt is the last one.

To avoid manual synchronization, I decided to use the /api/v2/outbound/attemptlimits/{attemptLimitsId} API from the Workflow.
But I still can't figure out how to determine the last attempt in case of different Number of Recall Attempts.
Regards,
Irina
------------------------------
Irina Milstein
ITNavPro
------------------------------
Original Message:
Sent: 01-18-2022 00:24
From: Robert Wakefield-Carl
Subject: Different wrap-up rule for last attempt
Just create a different column to house the Max Attempts and then have your Workflow read that field of the contact to compare against your current one.
------------------------------
Robert Wakefield-Carl
Avtex Solutions, LLC
Contact Center Innovation Architect
robertwc@avtex.com
https://www.Avtex.com
https://RobertWC.Blogspot.com
Original Message:
Sent: 01-10-2022 07:03
From: Irina Milstein
Subject: Different wrap-up rule for last attempt
Hello Community,
we use outbound progressive campaign with attempt control and need to implement different wrap-up rules for the last attempt and for other attempts, i.e. for all attempts except the last one we need to send SMS X, and for the last attempt we need to send SMS Y, and call a custom web service.
For implementing these rules we use data action which executes workflow and passes all custom contact list parameters to it. The workflow sends SMS and calls the custom web service if the current attempt is equal to the max attempt.
We have already added field for current attempt to our contact list, but can't figure out how can we receive the "max attempt" value defined in attempt control and pass it to workflow.
Any ideas?
Thanks,
#Outbound
------------------------------
Irina Milstein
ITNavPro
------------------------------