Flow - Unable to update record with catalog choice field

Michelle89
Tera Contributor

I have a catalog item with a variable called nh_department. nh_department references the User table’s department field. When I add the ‘Update User record’ action in Flow, I can’t map the user’s input on the catalog item nh_department to the User table department field. It says ‘Choice is not allowed here ’. Can someone please tell me what I would need to change to allow this mapping? The screenshot shows where I am trying to map the two fields.

1 ACCEPTED SOLUTION

Tanaji Patil
Tera Guru

What do you mean by nh_department references the User table's department field? In the image it shows choice field and I guess thats the reason you are not able to map it to Department field on User table which is a reference field.

If you have nh_department as reference variable then it will allow you to map it.

You could also do it via script functionality next to the value box but I dont see that option for any of the fields in your screenshots for any fields. May be because you are not admin?

 

-Tanaji

Please mark the repsonse correct/heplful if applicable

View solution in original post

2 REPLIES 2

Tanaji Patil
Tera Guru

What do you mean by nh_department references the User table's department field? In the image it shows choice field and I guess thats the reason you are not able to map it to Department field on User table which is a reference field.

If you have nh_department as reference variable then it will allow you to map it.

You could also do it via script functionality next to the value box but I dont see that option for any of the fields in your screenshots for any fields. May be because you are not admin?

 

-Tanaji

Please mark the repsonse correct/heplful if applicable

Thanks, I had to change the variable Type to 'reference' to fix this.