RITM canceled Get subscription back to first state
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago
Hi everyone i did a flow that handle subscription under somes conditions but they need to revert the subscription to initial state when cancelation happened either from portal or back office from task or from approbation ou req cancelation The subscription scenarios are 3: Action "Manage Subscriptions"
Trigger
After validated approval
Description
Case 1: If the beneficiary is not subscribed to any office support offer [office support offer *] then
• Subscribe the beneficiary to the support offer associated with the selected destination site
Case 2: If the beneficiary is subscribed to the same office support offer as the one associated with the selected destination site [beneficiary's office support offer = "Office Support Offer" <office support template> of the destination site] then
• No action
Case 3: If the beneficiary is subscribed to a different office support offer than the one associated with the selected destination site [beneficiary's office support offer <> "Office Support Offer" <office support template> of the destination site] then [destination site] then
• Unsubscribe the beneficiary from their current Office Automation support offer
• Subscribe the beneficiary to the support offer associated with the selected destination site
"User Resubscription" Action
Trigger
Upon cancellation of the RITM
[RITM status = canceled]
Description
Return to the initial status regarding subscriptions (the beneficiary must have the same profile picture before the request)
"Cancellation" Action
Trigger
Upon cancellation of the RITM
Cancellation cases are as follows:
Cancellation following approval refusal
Cancellation by the requester or beneficiary from the portal
Cancellation by the operator in the back office
Cancellation via the "Request processing" task when the task is performed with <valid_mvt>=no and <refusal_reason> is entered
[status of [RITM = canceled]
Description
Cancellation of the RTIM framing the request
Cancellation of all RITMs comprising the order guide
Cancellation of the REQ