Single workflow for more than one user.
I have a workflow that loops and sets the layer definition for 10 different layers is a map service. (ie Mapservice id: 101 Layer id: 0,1,2,3,4,5,6,7,8,9)
Each layers definition is set the same way. ie where STATUS = "Completed"
I enabled security of the application where
User 1 can only view Mapservice id: 101 Layer id: 0,1,2,3,4
User 2 can only view Mapservice id: 101 Layer id: 5,6,7,8,9.
when I execute the workflow for user 1, the workflow errors because it is unable to find layers 5,6,7,8,9 and for user 2 the workflow errors because it is unable to find layers 0,1,2,3,4
What is the best way to handle this? I'd rather not create two separate workflows for each user or create a "flow decision" to set the layer visibility for user1 and then user 2.
Is there way to simply "ignore" the workflow error and allow the workflow to continue?
Any comments or suggestions would be appreciated.
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
0 Kommentare