
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2022 02:06 PM
HI SN Community.
I created a new action in Flow Designer to analyze via script the difference between 2 dates in hours:
Outputs:
When I perform the manual test on Action I get the results correctly:
But when I call the Action in my main FD (After Save and Publish) the outputs data comes wrong
Any Guidance on how I can get this data correctly?
Solved! Go to Solution.
Labels:
1 ACCEPTED SOLUTION

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2022 06:11 AM
Hi Guys.
I solved the problem as follows:
Change Input Variable from Reference.Case to String
Adding a pre-step to lookup the record in the action itself according to the criterion of the CsNumber (string) informed in the input
Assigning Updated field from lookup as criteria in Script
Now it worked!
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2022 06:11 AM
Hi Guys.
I solved the problem as follows:
Change Input Variable from Reference.Case to String
Adding a pre-step to lookup the record in the action itself according to the criterion of the CsNumber (string) informed in the input
Assigning Updated field from lookup as criteria in Script
Now it worked!