- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2021 10:23 AM
Hi,
I need help on how to populate assignment group based on user select dropdown variable value that contains pacific word using Flow Designer f(x) script.
This is what I have, but it did not work. Can someone please provide suggestion. Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2021 12:06 PM
If using Flow anyway, why not use Decision Tables? You can then create a completely code free solution.
Define the decision table that accepts a text input to use in the condition:
AAnd the condition:
Then use it in the flow:
Using a Catalog Item variable as below:
And finally update the assignment group:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2021 01:07 PM
Hi János
This is very interesting way of doing it. Could you please share the update set so that I can try it out in my test instance and also take a look at how you putted it together in the flow?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2021 02:15 PM
Yes, but It will take a bit. Like by tomorrow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2021 02:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2021 05:07 PM
I think a better and more scalable solution would be to not use branches at all:
In this case the flow looks simpler too:
You will still be able to set the Assignment group as before:
But you will never have to touch the flow again just to add another assignment option. You would only need to modify the Decision Table by adding new Decision answers. Only thing you should make sure is to have a single default last answer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2021 03:09 PM
We created a Decision Table. Will there be a problem when upgrading to the latest SN version?