- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
What is wrong in the below code?
I'm getting below error and shared the code what I used.. also, catalog item is avaialble for all users... I created a new user criteira and added sn_internal and snc_externals roles to that user criteira..
Error:: Create Request : did not create or update sc_request using current
Code::
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Sathwik1
Try with this simple code:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi @Sathwik1 ,
Check the role / other condition if mentioned in script in Create and Write ACL on sc_task once.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
@Tanushree Maiti Thank you so much I re-verified it again, it was working perfectly fine.. I need a small modification..
here Requested For value is updating after the request item creation... so due to this.. some existing OOB BR triggering case also along with request..
so is there any way we can pass requestedFor value also at the time of request creation? instead of updating the request again?
Also, why in "Email" logs "Target" is not getting filled? generally it used to fill where record get;s created right (It's fine .. just asking)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
can you please help @Tanushree Maiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Sathwik1 ;
Can you try with following solution as given in this post for " pass requestedFor value also at the time of request creation? instead of updating the request again"
https://www.servicenow.com/community/itsm-forum/inbound-action/m-p/595379/page/4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Tried it already but it does not worked, because cart requestedfor is different from requested for on request table.
