I have to assign request to user.

niveditakumari
Mega Sage

Hi, 

 

I have to assign request to user. We are having flow and there it is setting short description and description field value and there I have to set assignee using system property. 

I have created system property and I have to use that system property in flow in action input to assign request to user. 

niveditakumari_0-1769068902537.png

Can you please help me to achieve that. 

 

Regards, 

Nivedita 

 

 

5 REPLIES 5

Mark Manders
Mega Patron

Depending on the system property (is it a name or a sys id?) you need to do a lookup to the user table to find that user and then assign it. This can be done through a 'look up record' step, or as a script on the assigned to itself.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

GlideFather
Tera Patron

Hi @niveditakumari,

 

could you possibly explain your requirement?

 

If it is just to assign some group (not recommended to assign individuals), then you can use Assignment rules.

GlideFather_0-1769075153040.png

You select a table and eventually conditions and if matched, then apply the Assigned to in the second tab:

GlideFather_1-1769075221122.png

 

This is way more easier to define and maintain.. 

_____
No AI was used in the writing of this post. Pure #GlideFather only

adityahubli
Tera Guru

Hello @niveditakumari ,

You can create custom action in which you can use script to get system property value using gs.getProperty(propertyName) and you can assigned  output of custom action to assignee field .

 

If it helps you then mark it as helpful and accept as solution.

Regards,

Aditya,

technical Consultant

Dr Atul G- LNG
Tera Patron

Hi @niveditakumari 

 

What is the use case where it is easier to use an Assignment Rule, as suggested by GlideFather, instead of using a Flow?

 

https://youtu.be/LAtuuuR2EX0

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************
CISITSM #ITSM #csa #ServiceNow #TechnoFuncational Disclaimer: These videos are from my training batch. These videos did not promote any ServiceNow Sales pitch or marketing. These videos are only for knowledge purposes & basic on my experience & Knowledge. Redistribution or copying of functionality