Home Analyst Portal

execute code on Closed Incidents

Morten_MeislerMorten_Meisler Premier Partner Advanced IT Monkey ✭✭✭
When trying to execute code for Incidents, we typically use this formTask:

<div>app.custom.formTasks.add('Incident', null, function (formObj, viewModel) {</div><div>&nbsp; &nbsp; //bind a function to the form ready event

</div><div>&nbsp; &nbsp; formObj.boundReady(function () {</div><div>	<span style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">&nbsp;</span></div><div>//Do stuff<br><br></div><div><br></div><div>});
</div>


But this does not seem to work on closed Incidents (also tried a setTimeout function). Is this intended or a bug ? I can probably make a workaround, but it would be much better to use the supported way.

Best Answers

Answers

  • Geoff_RossGeoff_Ross Cireson Consultant O.G.
    Great minds, think alike.
Sign In or Register to comment.