Record producer

kali
Tera Contributor

Hi All,

I want ServiceNow  to send a notification  to a user with all the details filled in the record producer by the end user. But when users click submit button it should not create a case but send only the notifications along with the attachment from the Record producer.

Thanks in advance

2 REPLIES 2

Shruti
Mega Sage
Mega Sage

Hi,

1. Create an event in event registry

2. Create a new notification. It should be sent when 1st event is fired

3. Use gs.eventQueue in record producer script

gs.eventQueue(String name, Object gr, String option1, String option2)

  

4. Pass variables in event param2

5. Use current.setAbortAction(true) in record producer script to prevent record creation

kali
Tera Contributor

Hi @Shruti  ,

In the record producer they will add attachment how can i take it and send it the notification. Thanks in advance