The Zurich release has arrived! Interested in new features and functionalities? Click here for more

What are two ways to generate an Event? (Choose two.)

izzaijaz
Tera Contributor

What are two ways to generate an Event? (Choose two.)

A. Business Rule
B. Workflow
C. Log entry
D. Knowledge article publication

plz help option AB or AC bc I read workflow dont diretly trigger an event

1 ACCEPTED SOLUTION

SN_Learn
Kilo Patron
Kilo Patron

@izzaijaz ,

 

The correct answers are:

A. Business Rule
B. Workflow

 

From the business rules, event can be triggered with the help of below code:

gs.eventQueue('event_name', GlideRecordObject, parm1, parm2);

More details: Generating Events 

SN_Learn_0-1735287275139.png

 

From workflows, you can utilize 'create event' activity block

SN_Learn_1-1735287352757.png

 

 

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.

View solution in original post

11 REPLIES 11

SN_Learn
Kilo Patron
Kilo Patron

@izzaijaz ,

 

The correct answers are:

A. Business Rule
B. Workflow

 

From the business rules, event can be triggered with the help of below code:

gs.eventQueue('event_name', GlideRecordObject, parm1, parm2);

More details: Generating Events 

SN_Learn_0-1735287275139.png

 

From workflows, you can utilize 'create event' activity block

SN_Learn_1-1735287352757.png

 

 

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.

how do you pass the Glide record on the workflow activity? it only allows Parm1 and Parm2

 

PrashantLearnIT
Giga Sage

Hi @izzaijaz 

 

A. Business Rule & B. Workflow is the correct answer

********************************************************************************************************
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.

********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect


Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************

Harish Bainsla
Kilo Patron
Kilo Patron

Hi @izzaijaz correct answer is A and B

if my answer helps you mark helpful and accept solution

Juhi Poddar
Kilo Patron

Hello @izzaijaz 

The correct answer will be 

A. Business Rule
B. Workflow

 

"If you found my answer helpful, please like and mark it as an "accepted solution". It helps future readers to locate the solution easily and supports the community!"

 

Thank You
Juhi Poddar