- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2020 05:45 AM
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:
The value of the field in the new task
Thank you for your help and time 🙂
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2020 07:04 AM
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,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2020 06:02 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2020 06:56 AM
I have recreated the issue on my own dev instance
how will i give you the username and password ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2020 08:25 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2020 07:04 AM
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,