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

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Gassanhira,

 

Could you share the steps to reproduce this issue or if you can reproduce this on your personal dev instance, I can look into this issue.

 

- Pradeep Sharma

I have recreated the issue on my own dev instance 
how will i give you the username and password ?

You can share the instance URL only but I believe the Hi KB link shared by Islam should resolve your query. 

Please let me know if you have any additional questions.

 

Thanks,

Pradeep Sharma

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,