(Re-)Evaluation of positions and rules

Dart, Jocelyn jocelyn.dart at sap.com
Tue Nov 1 19:45:28 EDT 2011


Hi, 
Rick is correct... however you can build an automatic update into your workflow scenario to cover the most common situations if you want to take it that far. 

You can set the workflow to automatically update the agents by using the workflow header version dependent event response "Re-evaluate agents with active work items". 
You'll need to create an event that triggers this response e.g. create a REEVALUATE_AGENTS event in your ABAP class or business object. 

You also need to work out how you will trigger that event... e.g. you might trigger it when a deadline is reached, or build it into whatever application you are using to maintain your position to user assignments (via a user exit, or using existing workflow events of business objects like PDOTYPE_S  to then trigger your reevaluate agents event).

Regards,
Jocelyn 


-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Rick Bakker
Sent: Tuesday, 1 November 2011 6:19 PM
To: SAP Workflow Users' Group
Subject: Re: (Re-)Evaluation of positions and rules

Hello,

You will need to re-evaluate the agents, it doesn't happen
automatically (except e.g. if the workitem is re-created after a
deadline expires).

regards
Rick Bakker
hanabi technology

On Thu, Oct 27, 2011 at 6:05 AM, Matthew Copper <matcopper at hotmail.com> wrote:
> Hi experts
>
> I am doing some testing using a position (in an expression) or a rule
> for agent determination.
> My understanding is, that the mapping from position to a user oder the
> evaluation
> of the rule happens once when the workitem is created.
>
> What I am wondering is, what happens if the position holder or the result of
> the rule
> evaluation changes while the workitem is still in ready or reserved state.
> Will the WF runtime become aware of the changes or must that
> be triggered manually (eg. with SWI1_RULE)?
>
> Thanks for any advice.
> Mat
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug




More information about the SAP-WUG mailing list