Hi @Michal ,
you must use "Get Relationship" Activity to het Analyst oder User Comments:
Regards,
Stefan
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I've created workflow to automate user creation.
It is creating new change request for each found user to create, and within it there is a review activity where in the comment field someone has to pass manager name for this new user.
It mostly works, but for some reason runbook returns empty comment field.
I'm not sure if it's the problem but it will be passed through service portal.
Sorry, it's in Polish, but I highlighted comment field where I've expected my comment to be there.
Thank you in advance for your help.
Hi @Michal ,
you must use "Get Relationship" Activity to het Analyst oder User Comments:
Regards,
Stefan
Hi @Stefan Horz
Yes, I've picked wrong related class, now it works fine, thank you.
But I have another problem.
Here is my workflow:
New User from GD would run once a day, this will gather some informations about new AD user and create SCSM request to collect rest of them.
Then in monitor RA for manager it collects manager information for this new user upon closing review activity.
It works but right now I need to pass all of the informations that were collected within 2 runbooks and probably create 3rd runbook for user creation.
Problem is I'm not sure how to do it "optimal" way.
I know I can pass informations using Invoke Runbook and Initlialize Data, but then I'm not sure how to pass them from New User from GD to Monitor RA for manager, since it contains Monitor Object activity and if I understand correctly it shouldn't be invoked by other runbook
Hi @Michal ,
I'm glad that I could help you with your first question in this thread. Next time please accept the answer an start a new question in a new thread. That's helps to get a better overview and people who might have a similar question later.
Anyway, I would modify "Monitor RA for Manager" with:
Initalize Data (With Parameter: CR ID)-> "Get CR" -> "Get Relationship" (RA from SR) -> "Get Relationship" -> "Get Comment" -> "Get Manager"
At the end of "New user from GD" trigger the Runbook from above with "Invoke Runbook" Activity (wait for completion).
Regards,
Stefan
Dear @Stefan Horz
Sorry for the delay, I went in different direction since I didn't want to lose Monitor activity but now everything is working just fine.
Thank you for your help!