Script include in workflow

servicenow14710
Tera Expert

How to get retrun value of script include function in workflow.Any help is appreciated,Thanks!

6 REPLIES 6

@servicenow14710 

Then maybe your script include itself returning count as 0, Please apply some log in script include to check the count.

 

Please Mark Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.

 

Thanks

Vishal Birajdar
Giga Sage

Hi @servicenow14710 

 

You can just call the script include & it's function.

 

var getReturnValue = new ScriptIncludeName().functionName();

 

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates