- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 10:44 PM
Good morning,
We are trying to have a dynamic selection for the approver of a RITM.
We added a new variable called Manager_Approver that is a reference to the sys_user table with some filters on that work well.
My issue is that when I try to pill pick the Approver from the Get Catalog Variables action, every option of the variables are unavailable.
Is there a limitation to the use of Get Catalog Variables?
Is there a different non code approach?
Thank you in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 11:00 PM
Hello @Stergios Stergi ,
this is why the approval activity in the flow expects a reference record and you are providing a choice variable, you can change the type of your variable or you are a Lookup Record to get the Referenced record in your approval, There is another option you can you a flow variable to convert it to a string the desired format (reference) with a bit of scripting and you the Flow variable in your approval.
Hope that this helps you!
If the provided information answers your question, please consider marking it as Helpful and Accepting the Solution so other community users can find it faster.
All the Best,
Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 10:53 PM
I can see one variable as approver_manager but its choice type, so it will not be available in the list to pick.
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 11:00 PM
Hello @Stergios Stergi ,
this is why the approval activity in the flow expects a reference record and you are providing a choice variable, you can change the type of your variable or you are a Lookup Record to get the Referenced record in your approval, There is another option you can you a flow variable to convert it to a string the desired format (reference) with a bit of scripting and you the Flow variable in your approval.
Hope that this helps you!
If the provided information answers your question, please consider marking it as Helpful and Accepting the Solution so other community users can find it faster.
All the Best,
Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 11:11 PM
Hello @Stergios Stergi
I have tried in my instance and for me its available from get catalog variables since I kept my variable choice as reference, you can refer the below image.
But what I noticed is that you approval manager variable is showing as a choice in picker so could you please confirm once or check the configurations for your variable.
Let me know your views on this and Mark ✅Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.
Regards,
Aniket
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 01:15 AM
Thank you very much for the replies! You were spot on, I change the variable type to reference and it worked!
Have some great holidays!