SncTriggerSynchronizer.executeNow(rec); not working in scoped application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-06-2024 07:45 AM - edited ā03-06-2024 07:46 AM
Hi team,
I am working in scoped application i want to execute a schedule job by using inbound action where this is not working in scoped
SncTriggerSynchronizer.executeNow(rec);
i am getting log
My code:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-06-2024 07:57 AM - edited ā03-06-2024 07:57 AM
Hi @Deepthi13 ,
Try replacing SncTriggerSynchronizer.executeNow(rec); with gs.executeNow(rec);
Please check and Mark Helpful and Correct if it really helps you.
Regards,
Swathi Sarang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-06-2024 08:12 AM
tried this gs.executeNow(rec);
but still this is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-06-2024 09:15 AM
Hi @Deepthi13 call a script include and create it in global and use gs.executeNow() in that and make sure that script include accessible from is all application scope
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-06-2024 10:00 AM
Hi Swathi,
can u please elaborate more in script. what to place in script include.
and how to call in inbound action how to edit it.
please find my inbound action current script helps you to edit,(which helps me)