Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Return from 'Cancel', in case multiple statuses can lead into status cancel.

Gilad Shtern
Contributor
June 2, 2024

Hi,

 

I'd like to know how to configure a conditional workflow, such as: return from 'Cancel', in case multiple statuses can lead into status cancel.

I.E.:

Transition#1:  Status#A -> Cancel

Transition#2:  Status#B -> Cancel

Now, userA would like to revert trans1 while userB is reverting transition2.

Kindly,

Gilad

 

2 answers

0 votes
Stevan Mandić
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 3, 2024

@Gilad Shtern  

  1. Create separate transitions from Cancel to all statuses you need (statusA, status B etc
  2. Click on Conditions in the box that pops up
  3. Add a condition
  4. Choose one of the User Is In options near the bottom of the list. 

For instance, you can add users to groups (groupA=userA, groupB=userB etc) and add workflow condition "user in a group"

So for Cancel-statusA transition you can add condition "user in a group" and select groupA which contains userA, so only userA can transition issue back to statusA

0 votes
Stevan Mandić
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 3, 2024

@Gilad Shtern

just to clarify what you need:

1. everyone can transition the issue to Cancel but only userA can revert it to statusA, and only userB can revert it to statusB?

Or

2. Only userA can make Transition1, only userB can make Transition 2, and when issue is Canceled, userA can revert it to statusA, and userB can revert it to statusB?

Or

3. If userA made transition1, only userA can revert issue from Cancel to status A (and userB cannot revert it to Status B) and vice versa?

 

Gilad Shtern
Contributor
June 3, 2024

@Stevan Mandić 

1.Assignee like to revert into the previous status.

2.As conditional WF, each use like to view only relevant transition button.

i.e.:

userA in 'Cancel' should view only 'Back to transition1' button.

Meaning, button of the origin revert path/transiotion.

Kindly,

Gilad

 

Suggest an answer

Log in or Sign up to answer