Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Run runJobTrigger api for Application import Job 0- Giving 500 Internal Server Error

RG14
New Contributor
New Contributor

I am running below api in postman to run runjobtrigger api.

https://<<Saviynt-URL>>/ECM/api/v5/runJobTrigger

Body: 
 
{
    "jobgroup": "DATA",
    "triggername":"AD_Access_Import",
    "jobname": "ApplicationDataImportJob",
    "triggergroup": "GRAILS_JOBS"
    }
 
All above attribute in Body i have taken from qrtz_triggers table, but its giving  500 Internal Server Error

 

7 REPLIES 7

rushikeshvartak
All-Star
All-Star

Please share postman screenshot and curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]



⚠️‼️‼️Do not upload any attachments that contain sensitive information, such as IP Addresses, URLs, Company/Employee Names, Email Addresses, etc.‼️‼️⚠️


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

@rushikeshvartak 

Sharing screenshot for running API

jobtrigger.png

RG14
New Contributor
New Contributor
curl --location 'https://<<saviynt URL>>/ECM/api/v5/runJobTrigger' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--header 'Cookie: CCSRF-TOKEN=013d106d-e804-40cd-972a-8ae7272bca1e; INGRESSCOOKIE=1724758693.665.844.370782|3523113d2bd3072fa485626e272241b1' \
--data '{
    "jobgroup": "DATA",
    "triggername":"AD_Access_Import",
    "jobname": "ApplicationDataImportJob",
    "triggergroup": "GRAILS_JOBS"
    }'

Amit_Malik
Valued Contributor II
Valued Contributor II

Try this , if it is a trigger chain job

{
    "jobgroup""utility",
    "triggername":"AD_Access_Import",
    "jobname""TriggerChainJob",
    "triggergroup""GRAILS_JOBS"
    }
 
If application import single thread 
 
 
{
    "jobgroup""DATA",
    "triggername":"AD_Access_Import",
    "jobname""SapImportJob",
    "triggergroup""GRAILS_JOBS"
    }
 
if multithreaded then yours is correct.
 
Thanks,
Amit
If this answers your query, Please ACCEPT SOLUTION and give KUDOS.
Kind Regards,
Amit Malik
If this helped you move forward, please click on the "Kudos" button.
If this answers your query, please select "Accept As Solution".

@Amit_Malik 

Can we run trigger chain job from Saviynt API, i tried with below body 

RG14_0-1725263699898.png

it ran the job, but when i check the job history, it didn't include connection, am i doing something wrong 

RG14_1-1725264663327.png

 

Amit_Malik
Valued Contributor II
Valued Contributor II

share your job configs please. Trigger chain is to run the jobs, the connection and that link has to be in job.

 

Kind Regards,
Amit Malik
If this helped you move forward, please click on the "Kudos" button.
If this answers your query, please select "Accept As Solution".

Please share screenshot from saviynt - need to check Job name/type and configurations


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.