provide scripted rest api script for below

AJAYKUMAR G
Tera Contributor

create scripted rest api from workday json format users information then look up for

matching identi field is x

if found, check look up is not particular life cycle event of off boarding,

if found check data in payload rescinded is yes from json then rescind offbaording and move next user from json body or transction status is cancelled from json cancel offboarding and move next user json body

if not, rescinded is no and transction status is not cancelled request offboarding record produce based country region select off baording from json body tsxt1 to x vaiable

if all process successfull response 500

if field is x not move to next user on

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@AJAYKUMAR G 

So what did you start with and where are you stuck?

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@AJAYKUMAR G 

So what did you start with and where are you stuck?

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

how to script for this conditions