Hi Experts,
I want to do something like that in my workflow.
If workflow supervisors - group_name='managers' then go to activity A
else go to activity B.
Could you please help me to achieve it? Is that possible?
Thanks.
If there are Accepted Answers, those will be shown by default. You can switch to 'All Replies' by selecting the tab below.
Not possible with WFM. This is only possible with Process Builder.
Hi Imran!
First, you will need a DQL Read activity with some dql like this:
SELECT gs.group_name FROM dm_group gs, dm_group_r gr, dm_workflow w WHERE ANY users_names = w.supervisor_name AND gr.r_object_id = gs.r_object_id AND w.r_object_id = ?
Map parameter '?' with Execution Data -> workflow -> supervisor.
Save the result of query in some process variable, for example supervisor_group (it must be repeatable I think, because of users often included in a few groups or roles).
After that you can use variable supervisor_group in Transition query to split the flow of your process.
~ Konstantin
Hi,
The problem is that we don't have process builder license , we use workflow manager and it has very limited functionalities.
So for doing this in workflow manager I have to write a custom wf method rigt?
Sorry, don't noticed the tag.
And sorry again, I never worked with WF so I could not help you.
ok. but the dql is helpful anyway.
you can create your custom activity and then use it in any application without problems. It is not so difficult.
Do you mean custom workflow auto method with DFC?
I
we call it custom auto activity, but I think it's a same.
Thank you very much.That is not exactly what I am looking for but since workflow manager doe's not provide such functionality, I don't have another option.
Custom auto activity = activity which executes custom server method. This is supported in workflow manager.
Hi Johnny,
I know that. But I wanted to achieve it without coding.