Action unable to return output variables correctly in Flow Designer

Rafaeloneil
Giga Contributor
HI SN Community.

I created a new action in Flow Designer to analyze via script the difference between 2 dates in hours:

find_real_file.png
Outputs:
find_real_file.png

When I perform the manual test on Action I get the results correctly:
find_real_file.png

But when I call the Action in my main FD (
After Save and Publish) the outputs data comes wrong
find_real_file.png

Any Guidance on how I can get this data correctly?
1 ACCEPTED SOLUTION

Rafaeloneil
Giga Contributor

 

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!

View solution in original post

1 REPLY 1

Rafaeloneil
Giga Contributor

 

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!