event trigger workflow

rajesh kumar9
Tera Contributor

How to trigger an event through workflow can u please explain it to me briefly

1 ACCEPTED SOLUTION

you can refer the below link, kindly have a look.

 

Generating Events

 

if you have still any further questions on it , let us know. 

View solution in original post

6 REPLIES 6

Dubz
Mega Sage

Use the Create event workflow activity. Name the event you want to trigger and you have the option of setting parm1 and parm2 via script if you want.

Harsh Vardhan
Giga Patron

there is two way to trigger the event in your workflow .

First use gs.eventQueue() 

you can use gs.eventQueue() in your workflow script. eg: run script activity, approval activity etc. 

https://developer.servicenow.com/app.do#!/api_doc?v=kingston&id=r_GS-eventQueue_S_O_S_S_S

 

 

Second , you can use event activity in your workflow. 

https://docs.servicenow.com/bundle/newyork-servicenow-platform/page/administer/workflow-activities/r...

 

 

 

can u explain more detail in screenshots

you can refer the below link, kindly have a look.

 

Generating Events

 

if you have still any further questions on it , let us know.