Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

How to Trigger Survey from Script?

naina5
Tera Contributor

How to Trigger Survey from Script any one have any idea on this.

2 REPLIES 2

Ankur Bawiskar
Tera Patron

Harmeet2Singh
Tera Expert

use: 

new sn_assessment_core.AssessmentCreation()).conditionTrigger(current,sys_id)
current is the object on which you want to attach assessment, and sys_id is the sys id of trigger condition created for assessment.