Set value of choice field in flow designer

GassanHirra
Tera Contributor

Hello everyone, 

I have a flow that duplicates a task everyday using for each
I have a field called report type (which is a choice) and has two options 
1- new (with the value of 10)
2- requested previously (with the value of 20)

when creating the new task and using the datapill of report type from the for each step it doesn't set the value to new(10) it inserts a new choice new (with the value of "new") i know the solution is to script the value but i can't seem to figure it out

the pictures below should make everything clearer 
the create task action in the flow:
find_real_file.png

The value of the field in the new task

find_real_file.png

 

Thank you for your help and time 🙂

1 ACCEPTED SOLUTION

Islam Mari
Tera Expert

Hello Gassan,

 

Kindly note that if the current instance has been upgraded from previous versions to NewYork and current patch 3 is not updated, then that might be the cause.

Please see the link below:

https://hi.service-now.com/kb_view.do?sysparm_article=KB0724913

 

Regards,

View solution in original post

13 REPLIES 13

Yes That seems to be the problem, Thank you!

Hello Islam & @GassanHirra 

Can you please paste a screenshot of the KB article as i'm facing the same issue & looking for solution. 

Thanks.

 

Hi!

For some reason I cannot access this link as I do not have the right permissions to view it.

I am in the same case scenario, but for having upgraded to Utah.

 

I was wondering if this issue could have been the same as for the version you mentioned at the time. So, out of curiosity I wanted to look at the link you sent over. So, yeah I don't have access to it...

Do you think that there could be a similar issue at this version as well? I can't seem to find information about this.

 

Thanks,

Darius

Dan Gibbard
Tera Contributor

I'm still seeing this issue in a Quebec instance: glide-quebec-12-09-2020__patch4-hotfix2b-07-21-2021

Dan, same.

I changed the pill to using scripting and this solved my issue. 

You can dot walk in the scripting field, after you type the . each time, I find you have to wait 5-15 seconds for it to populate you dot walking options.

return fd_data.trigger.current.hold_category;