How to fetch the value of field in a flow via system property instead of hardcoding?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi Experts,
I want to check the value of field in my flow using a system property instead of hardcoding. I can do that in a Create a Record Action, using toggle script, but I'm unable to see that script toggle in If flow logic condition.
Please refer this ss and let me know how I can use a system property here.
One thing, I'm unable to see the Get Property action as well in my instance.
Thanks in advance,
Amol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
There is not an out of box Get Property action in Flow Designer. You can do this before the If action by creating a flow variable, then using Set Flow Variables from the Flow Logic section to populate the flow variable with the system property via script. Then your If action can evaluate the value of the Flow Variable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
You can use Flow variable in this case. Create the flow variable and the Set the Flow Variable.
Then use it in your actions.
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @Amol Pawar
No ootb get property there I think:
Here is blog by @Mark Roethof you can use/implement:
Thanks and Regards,
Mohammed Zakir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @Amol Pawar ,
You can have lookup action before condition step to lookup system property table with name and get sys_id use that.
You can create new action and send name as input and in script get system property sys_id return it as output and use it in condition.
If my response helped, please mark it as the accepted solution ✅ and give a thumbs up👍.
Thanks,
Anand
