Workflow Dependence Scenario

  • 13 February 2020
  • 1 reply
  • 25 views

I have the following Request workflow configured:
Workflow Tab1
- Custom List 1 (yes/no)
- Custom List 2 (yes/no)
- Custom List 3 (yes/no)
Workflow Tab2
Workflow Tab3
Workflow Tab4
Workflow Tab5

Workflow Tab2 activates when Tab1 is complete AND Custom List1 is marked Yes
Workflow Tab3 activates when Tab1 is complete AND Custom List2 is marked Yes
Workflow Tab4 activates when Tab1 is complete AND Custom List3 is marked Yes

I want Workflow Tab5 to activate when all PREVIOUSLY ACTIVATED tabs are complete (I want to send a notification on Tab5 activation). For example, if Tab2 and Tab3 are activated but Tab4 is not, Tab5 should be activated when Tab2 and Tab3 are complete. In this example, I don't care if Tab4 is complete because it was never activated.

I can't figure out how to get the workflow dependence to function this way. Can someone point me in the right direction?

1 reply

Badge
I know this is a bit late, but this is what I did:
Lets rename your tabs to match Custom Lists with the workflow tabs (list1 is for Tab1)
Workflow Tab1 = SelectorTab
- Custom List 1 (yes/no)
- Custom List 2 (yes/no)
- Custom List 3 (yes/no)
Workflow Tab2 = Tab1
Workflow Tab3 = Tab2
Workflow Tab4 = Tab3
Workflow Tab5 = FinalTab

Custom List values were populated across all workflow tabs for my simplicity.
Attributes Dependencies for all tabs will be type OR

Ok, so you set your list variables and complete the SelectorTab
Attributes on Tab1:
Depends on SelectorTab - On Completion - List1 = yes

Attributes on Tab2:
Depends on SelectorTab - On Completion - List1 = no and List2 = Yes
Depends on Tab1 - On Completion - List2 = yes

Attributes on Tab3:
Depends on SelectorTab - On Completion - List1 = no and List2 = no and List3 = Yes
Depends on Tab1 - On Completion - List2 = no and List3 = yes
Depends on Tab2 - On Completeion - List3 = yes

Attributes on FinalTab:
Depends on Tab1 - On Completion - List2 = no and List3 = no
Depends on Tab2 - On Completeion - List3 = no
Depends on Tab3 - On Completion

Something like this is how I made this work, Each sequential tab has to check all other previous tabs completion and if it goes to it. There might be a better way but I this was the first thing I thought of that worked so I stuck with it.

Reply