Querying the STEPS in a trigger
Posted: Tue May 30, 2017 10:28 am
What would be the easiest way to query STEPS in a trigger or have a button redirect to Dynaform (assuming it is in the same task)? I am aware that I could use the below method, but I would like to just have it directly go to the Dynaform without having to worry about the placement of the step being added or changed as the user would not use the STEPS menu. Maybe by somehow pulling the DOM elements and directing button_1 to dynaform_test?
Code: Select all
$("#moreInfo").find("button").click(function(){
$("form").saveForm();
//redirect to a DynaForm which is the 3rd step in the current task
location="../cases/cases_Step?TYPE=DYNAFORM&UID=XXXXXXXXXXXXXXXXXXXX&POSITION=3&ACTION=EDIT";
});