- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2022 11:03 PM
Hello EXperts,
I have a custom action to populate data in a flow. Although it is showing the result when I test the custom action separately, but in flow, the output is populating empty value. But the input value is taking correct result.
Below screenshots are given:
Result:
Kindly help.
Thanks
Satanik
Solved! Go to Solution.
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2022 11:36 PM
I can see these options in the first if statement:
"3200|MIAMI-10|EXDS24"
"3200|REMOTE-AZ|EXDS24"
"3200|MIAMI-10|EXDS24"
none of them will match the string:
"3200 | REMOTE | EXDS24"

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2022 11:19 PM
Hi,
As far as I can see, you are sending the string "3200 | REMOTE | EXDS24" as input to your custom action.
But in your script, there is no case for handling this string.
Maybe you need an else-statement to handle all cases that doesn't match your current options?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2022 11:28 PM
Hi olan,
Thanks for your response.
If you see in the script, the 3200 | REMOTE | EXDS24 value is present in the first "if" condition. So ideally it should give the related mailbox value in response. Am I right ?
Thanks
Satanik

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2022 11:36 PM
I can see these options in the first if statement:
"3200|MIAMI-10|EXDS24"
"3200|REMOTE-AZ|EXDS24"
"3200|MIAMI-10|EXDS24"
none of them will match the string:
"3200 | REMOTE | EXDS24"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2022 12:19 AM
Hi olan,
Fixed it finally. It was my fault. Actually in the flow, I have been using another data pill as the custom action input value instead of the actual one which I had to use.
But all thanks to you since your identification was also correct which made me go through my whole flow once again for any other mistakes. And I found this.
Thanks,
Satanik.