When you click the button "Reopen" on an incident record, it executes the Process im.reopen.
Inside the process im.reopen, there's the following code:
if ($L.action="reopensave") then ($L.do.reopen.save=true)
How did the $L.action gets its value?
I was trying to call the im.reopen via script but it does not execute because the value of $L.action is "reopen" only. It doesn't recognize it if I set the value in the script by using the code system.vars.$L_action = "reopensave"