Need help to convert scripted "if" activity of workflow into flow desginer [ if logic]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 05:18 AM
Hi Team ,
Below is the "if" activity of my workflow, I want to execute the same activity in flow designer.
Here , script returns the value yes / no and depending upon the returned value the flow continues.
Kindly help me to achieve this in flow designers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 05:26 AM
Hm, the special thing in this situation is the getProperty() which is (why ever) not there as an OOB action in Flow Designer. But you could easily create it as a scripted action. If you create it with a flexible input parameter, you can retrieve both properties one after another with the same action, and then use a simple If, using the outputs of both steps to go on with your flow. If you need this more often, you can even put that sub logic (retrieve both properties, and return either true or false) into a reusable Subflow.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 05:49 AM
@Sachin Gavhane You can simply create a custom action using flow designer to fetch the property value and paired with output from Get Catalog Item Variables action you can replicate the exact same action.