How to fetch string that is returned from Inject javascript function


#1

I have injected a java script code that returns string value. The variable name in code and “script output” parameter is same but still. output parameter is returning Null.


#2

Hey @piyush.2224

Please find following attached sample for your reference and let me know :slight_smile:

js-parameter-pass-and-value-return-sample.zip (2.4 KB)

Regards…!!
Aksh


#3

I did the same but for me its returning error in message box. Something like - Object reference not set to an instance of an object. Have checked the reference and scope also.


#4

For me it is working.share your workflow :slight_smile:

Regards…!!


#5

yeah I have tried your work flow. It works . but same thing I have implemented in my project but it throws exception.
I cannot share the work flow coz of security concerns
:frowning:


#6