How to set assigned to field as "mandatory" in a task

cicgordy
Tera Guru

 

Hi all,

I am creating a catalog flow in flow designer and I need to configure the ability to set the "assigned to" field as "mandatory" for a catalog task I created, and then auto assign this person to following tasks that will be created after too.

 

Any suggestions?

 

2 ACCEPTED SOLUTIONS

Shashank_18
Mega Guru

@cicgordy 

Please use the UI Policy to mark the field as mandatory, you have the flexibility to define the condition using which that field will become mandatory.

 

Using flow designer, you can auto-assign the task to specific user or Group. I think that's pretty easy you can follow the document and get it done.

 

Hope this will resolve your issue.

 

thanks !

View solution in original post

Hi @cicgordy ,

 

As i mentioned earlier, you can use UI policy to make "assigned to" field mandatory on Service Catalog based on certain conditions:

Shashank_18_0-1675871952242.png

 

Shashank_18_1-1675872034968.png

 

Once the request is created, you can actually  grab this "assigned to" column value and put it in your sc_task record.

 

Hope this clarifies your doubt.

 

Thanks !

View solution in original post

12 REPLIES 12

Hi @cicgordy ,

 

As i mentioned earlier, you can use UI policy to make "assigned to" field mandatory on Service Catalog based on certain conditions:

Shashank_18_0-1675871952242.png

 

Shashank_18_1-1675872034968.png

 

Once the request is created, you can actually  grab this "assigned to" column value and put it in your sc_task record.

 

Hope this clarifies your doubt.

 

Thanks !

AndersBGS
Tera Patron
Tera Patron

Hi @cicgordy , 

 

If you have a variable for the "assigned to" that needs to be mandatory, when not just use the variable setting to make it mandatory? Alternative, should the field only be mandatory under certain conditions?

 

AndersSkovbjer_0-1675321731869.png

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

Best regards

Anders

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

Can't make that variable mandatory for all, should only be for one assignment group within that task.

Hi @cicgordy ,

 

Ok, then just use the UI Policy to set the correct condition for when the assigned to should be mandatory. e.g. Assignment group is Hardware.

 

After the creation of the UI Policy then create a flow in flow designer, that assign the following task to the same user based on your requirement.

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

Best regards

Anders

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

Hi @AndersBGS ,

Thanks a lot. Any idea how the script should be ? 

Also Which table should I select in the UI policy? RITM or sc_task? not sure how I can get the fields from both tables to set the condition for that exact catalog task by only creating one UI policy, so I guess I need a script that does all the jobs?