PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

[PSFT] Trigger Business Process Based Workflow on Completion of AWE

edited Oct 26, 2018 10:50AM in PeopleTools and Lifecycle Management - PSFT (MOSC) 1 commentAnswered

REQUIREMENT: on completion of a Approval Workflow Engine (AWE), initiate a Business Process (Activity) based workflow.

ISSUE:

1. PeopleSoft recommends that AWE PeopleCode code (e.g., approval manager - DoApprove) occur in Component SavePostChange

2. PeopleSoft recommends that Business Process (Activity) code occur in Component Workflow event (e.g., TriggerBusinessEvent)

3. We only know if an approval process has reached final approval within the AWE activities itself, which (see #1) are happening in SavePostChange

4. Workflow event occurs between Save Post Change

If we code everything as per 1 and 2, we'd get the following behavior.

1. User approves transaction (Field Change -> Component Save processing);

2. Workflow Event Fires. However, we don't know whether or not to fire TriggerBusinessEvent because we don't know if its the final approval yet

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center