hi there, i need assistance in action macro.
i want to update closure code when status changes to close using Action Macro.
assist me with fragment code for updating closure code to Cancelled
table = usp_closure_code
sym = Cancelled
code = 400001
done it by creating ITPAM event
Try this code fragment. I am assuming that you are calling this against the Change Request table, in the same way that an Action Macro would raise the Severity, which is also held in that table.
closure_code = <closure code>
The Change Order table, stores "closure code" by the unique "id." Eg "Successful" = "200".
Is the code good, is it bad (Does it even work?) by itself, I can't say. But that's the basics at a guess.
already tried but says unknows
On what object are you creating the macro? Perhaps you could attach a screen shot showing the complete detail of the macro.
Thanks for the update Aquib.
Flagging your post as "Correct Answer" to close out the thread. You may wish to screenshot the PAM (scrub out with MS Paint any confidential items) and post it, if it may help someone later.
Retrieving data ...