- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2016 10:38 PM
Hi Experts,
I have a query, suppose i want to send some parameter to the scheduled job. can i send that and if it is possible how can we do that?
i requirement it satisfying with the on-demand Scheduled Job but i need to forward reference of one object with the same how can we do that?
Regards,
Amol Bavaskar
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
-
Team Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-19-2016 12:13 AM
Script actions are the way to go.
1. Create an event.
2. Create Script Action attached to the event.
3. Fire the event from the UI Action with the required parameters.
Thanks
Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-19-2016 12:13 AM
Script actions are the way to go.
1. Create an event.
2. Create Script Action attached to the event.
3. Fire the event from the UI Action with the required parameters.
Thanks
Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2016 11:53 PM
if you want from UI policy then run async ajax call to script include. Also you can use action scripts. Action scripts run by events, you can just fire the event and also sent the parameter in event.
Visit below link, it will resolve your problem
Script Actions - ServiceNow Wiki
Please mark correct/helpful if it resolve your issue.
Thanks,
Param
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-19-2016 12:59 AM
correct Answer Let me try this
thank you again param for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-19-2016 01:36 AM
Hi Param,
Can I put a condition in BusinessRule like "action=delete_project";
do it will work or is there any way to do like ths?s?@paramveer