I created a workflow that converts something and attached the result to the ticket.
(open) -> convert-[sil post function ] -> (resolved) -> close [cond] closed
when the conversion is successful I like to do autotransition to the closed state.
to do that I have the following condition on the closed state
cond:
if (#{success} == "true")
{
autotransition("close", key);
}
this works but the screen is not updated to reflect the new status.
What would be the proper way to do that in a sil function?