How to trigger Survey for REQ created thru backend script

ah16
Mega Expert

Hi,

How can I trigger survey for REQ's created thru back end script with BR's turned off?

 

Thanks,

Ashraf

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

So are you saying you want to disable OOB how surveys are generated and trigger them from script?

Not sure what is your business use-case/requirement.

sharing few links for help

How do I create survey instances from a scheduled job?

https://community.servicenow.com/community?id=community_question&sys_id=f52347e1dbd8dbc01dcaf3231f96...

Regards
Ankur

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

View solution in original post

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

So are you saying you want to disable OOB how surveys are generated and trigger them from script?

Not sure what is your business use-case/requirement.

sharing few links for help

How do I create survey instances from a scheduled job?

https://community.servicenow.com/community?id=community_question&sys_id=f52347e1dbd8dbc01dcaf3231f96...

Regards
Ankur

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

Thank you Ankur for your response. I'm creating and closing REQ's automatically with BR's turned off.

Based on the conditions I have, survey is not getting triggered and so was wondering is it because of that's BR's are off.

 

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Ah,

I don't recall the business rule name but the reason its not triggering the survey because of the BR turned off. Any reason you want set the BR to off?

 

- Pradeep Sharma

Thanks Pradeep for your response. While creating automated REQ's thru script, we have turned off BR's on REQ and RITM tables.

Since, Survey are not getting triggered. I'm thinking is it because we have BR's off on REQ and RITM tables.

How to debug this?Or is their workaround to generate survey thru script?