Is there a way to answer pending user actions within a workunit from a landmark node or anything else? Trying to mass approve based off workunit
Good afternoon Noe,Yes you can "takeaction" on a pending user action workunit using a Landmark Transaction.DataArea: <!appProdline>Module: pfiObject: PfiWorkunitAction: TakeActionActionOperator: NoneActionType: SingleRecordKeyFieldsPfiWorkunit ... populate with the pending user action workunit numberAction ... populate with valid action (approve/reject) to match the user action you are simulatingI like this method because it still creates the PfiQueue/PfiQueueTask/PfiMetrics records for auditing purposes you can see it was "auto approved".
this is awesome and exactly what i was needing thank you! i was looking at the wrong object this whole time. Thank you again!
Have you ever ran into an action that you've taken and the action status remains in "Action Taken Pending In Server" until it eventually goes to 'Cancelled" status? I've been able to send an action to some work units but others have responded differently for some reason eventually just cancelling and never completing.
Action Taken Pending in ServerThis means the PfiQueueTask record was updated (usually by someone who has clicked Approve in inbasket); and the system needs an available workunit thread in the LPA node to be able to resume that workunits processing