Hello All,
I have requirement in report that i need to show last approved agent which approved by agent. Agent determination is based on Agent table.
in case of deadline escalation when latest end step executes system shows agent as "WF-BATCH" where last approved agent is expected according to level.
i am taking WI_AAGENT field form SWWWIHEAD table to show last approved agent.
i tried below update query in workflow but not sure it is correct or not.
UPDATE swwwihead
SET WI_AAGENT = lw_agent-agent
WHERE WI_ID EQ workitem_id
AND WI_RH_TASK EQ task_id
AND no_deadl EQ 'X'.
could you please advice on this.