Unable to set Catalog Task Assigned To field using RITM variable value

Cobbsalad
Kilo Contributor

I am attempting to create my first Flow Designer flow related to Service Catalog. I have a reference variable on the RITM that has a qualifier to show only users who are members of a particular group:

 

find_real_file.png

The customer selects a user from this field on the RITM.  I am using Get Catalog Variables to retrieve the variable field name. When testing, I can see that a sys_id is retrieved at this step:

find_real_file.png

I then want to Create a Catalog Task and set the Assigned To on the catalog task to the same user as the above. It appears to be setting the value, based on the screenshot below, but when I look at the RITM/SCTASK form, there's no value in the Assigned To field:

find_real_file.png

find_real_file.png

Can anyone tell me what I'm doing wrong and how to fix?

 

1 ACCEPTED SOLUTION

Ok that one works!!

 

Ok, so that's the issue!!

the Name variable is reference to group members table while it should be to sys_user table with reference qualifier the group name they are member of 

 the problem with your setup is that you are filling in data from a table and populate it to a field that reference another table and then when you select the members from the new table you are not getting the expected output (Sys_ID) of the user but you are getting the Sys_ID from his membership of a group

to fix this issue, change the name to be reference to active users in the Sys_user table

View solution in original post

19 REPLIES 19

Hi @Mohamed Rahim1 

I'm having similar issue with my flow. 

 

I want to populate 'requested for' on REQ and RITM based on a catalog variable and using flow to achieve the same.

Issue I'm facing is when a user submits the requests with 'requested for' variable populated as contact, in this case the Requested for on REQ and RITM is 'empty'.

But if I manually perform test on flow and select the RITM record created, it populates the 'Requested for' field with contact. 

Also if 'Contact' submits the request for themselves or other contact flow works fine. 

 

Any thoughts on what could be the issue?

Thank you 

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

Instead of going by flow designer can you create one task manually for the same assignment grp and user and see if the user is visble on the form ot ir replicates the same behaviour as that of the flow designer.

We have this workflow currently in workflow editor where it is working fine. I am trying to convert the workflow over to Flow Designer.  So yes, if done manually, the assignment group and user show correctly.

It's amazing to me what a simple Catalog Task script of "task.assigned_to = current.variables.hss_architect_name" in Workflow Editor turns into when you try to do it in Flow Designer.  Yet Flow Designer is "supposed" to be simpler....Yea I'm not seeing it.


Please mark this response as correct and/or helpful if it assisted you with your question.
Steven

Totally agree!!