How to pass parameters to this script include from Business Rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2020 11:04 AM
How to pass parameters to this script include from Business Rule and also how to get response?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2020 09:24 PM
Hey Yogesh,
In addition to above posts,
If you are using ondemand SI,
A Script Include that defines a single function is known as an on demand, or classless, Script Include.
The function is callable from other server-side scripts. On demand Script Includes can never be used client-side even if the Client callable option is selected.
ScriptInclude Code for Addition of two numbers Which is getting from Business rule:
Business Rule:(passing parameters.)
Also,
Check out Chuck's Video on the Topic of Script includes.
Mark Correct and Helpful, if it helps!
Best Regards,
Namrata.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2020 09:25 PM
Hey Yogesh,
Is your issue get resolved or do you require further information regarding this?
Best Regards,
Namrata.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2020 09:52 PM
Hello Yogesh,
Write a script include function with parameter.
scriptinclude_name
eg. test:function(variable name)
{
body...
}
call this function in business rule and pass parameter
eg.
var v=new Scriptinclude_name();
v.test(current.variable);
please mark it correct or helpful if it works
regards,
Arjun Shinde