Flow Designer Action not returning Output value to flow

Ravi Srikanth
Tera Contributor

Hi,

I created custom flow designer Action which will accept user sysId as Input and finds the sysId of VP user record and return that VP sysId as Output.

When I test the Action, It all works fine and it returns the VP sysId as expected, but after I publish this Action and add to the Flow, it is accepting the user SysId as Input but does not return any value as Output in the flow.

Please find screenprints of custom action steps and Action test results and and Flow Error.

Please help fix this issue. Thanks

Step 1: Input Variable

find_real_file.png

Step 2 : Script Step

find_real_file.png

Step 3: Output Variable

find_real_file.png

Action Test Results:

find_real_file.png

Flow Error due to Find VPSysId Action not returning any Value to flow.

find_real_file.png

 

1 ACCEPTED SOLUTION

Ashutosh Munot1
Kilo Patron
Kilo Patron

HI,

vpSysId declared in line number 14 should be declared out of if loop. Declare it at the top and then try it should work.

Thanks,
Ashutosh

View solution in original post

4 REPLIES 4

Ashutosh Munot1
Kilo Patron
Kilo Patron

HI,

vpSysId declared in line number 14 should be declared out of if loop. Declare it at the top and then try it should work.

Thanks,
Ashutosh

Thanks a lot Ashutosh, It worked...!!!

Hi Ashutosh,

I have a similar problem. Could you please guide me where I am getting wrong?

find_real_file.pngfind_real_file.png

find_real_file.png

FD Result

find_real_file.png

 

 

 

 

Mahesh51
Giga Contributor

@Ashutosh Munot , can you please guide here !

@Ravi Srikanth