setAbortAction is not working in Scoped application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2021 11:27 PM
Hi,
I am currently on a Human Resource Core scope and on the Record producer General inquiry i have an option as Type of issue and if the selects the type of issue as Issue then i need to stop the creation of hr case..
In the Record producer i written script like below.
new sn_hr_core.hr_ServicesUtil(current, gs).createCaseFromProducer(producer, cat_item.sys_id);
if(producer.type_of_issue == 'issue')
{
current.setAbortAction(true);
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2021 11:42 PM
Hi Irfan,
There is already a solution for this in thread. Kindly give it a check.
And as you rightly pointed its application scope that needs some configuration at table level for accessibility.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2021 09:10 AM
Hi
I did gone through that link but unfortunately i unable to find much information and that is a wiki link which is not opening.
I am not sure, i already created cross scope and on the table i changed the Caller Access to None
This is the record producer and the target table is sn_hr_core_case so i created above cross scope for same table.
Am i doing anything wrong ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2021 11:50 PM
Hi,
you need to Give cross-Scope access to any of the API which does not have cross scope access.
Navigate to Application cross scope access:
Create New record in your application scope:
Source Scope and Application should be your custom Application.
Thanks,
Anil Lande
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2021 09:11 AM
thank you for the reply. I Already created that anil not sure what is restricting that. in the above email i pasted the screenshot which i created