Hi All,
When i try to update three object in rules its changes the values in
rules . But after update its not reflecting on my calling code. But
workflowAction object has been updated.
What could be the problem anything i missed out here.
Please help me .
rule "Referback"
when
$workflow : Workflow(workflowActorId==2)
$workflowactor : WorkflowActor( $actoremail :actorEmail )
$workflowaction : WorkflowActions(currentUser==$actoremail &&
actions=='referback', $prevActions : prevActions )
$workflowactor1 : WorkflowActor( actorId== 1 && actorSign!=null)
then
System.out.println("drl2 action finally " + $workflowaction.getActions() +
$actoremail +$workflowactor1.getActorEmail() + $prevActions +
$workflow.getWorkflowActorId()
);
$workflow.setWorkflowActorId(1);
$workflowactor1.setActorSign(null);
$workflowaction.setActions("not need further actions");
System.out.println("worklfow id " + $workflow.getWorkflowActorId() +
$workflowactor1.getActorId() + " " + $workflowactor1.getActorSign());
update($workflowactor1);
update($workflowaction);
update($workflow);
end
Thanks in advance
Regards
Information in this e-mail is intended solely for the person(s) to whom it is addressed
and may contain confidential information. If you are not the intended recipient, please
notify the sender and delete this e-mail message and any other record of it from your
system immediately. You should not disclose or disseminate the information to any person,
use it for any purpose or store or copy the information in any form or manner.