[jboss-user] [jBPM] - Re: How to update the process variable instances values dynamically in audit logs.

Lingaiah Sundari do-not-reply at jboss.com
Thu Aug 9 07:31:19 EDT 2012


Lingaiah Sundari [https://community.jboss.org/people/lingaiah.sundari] created the discussion

"Re: How to update the process variable instances values dynamically in audit logs."

To view the discussion, visit: https://community.jboss.org/message/752806#752806

--------------------------------------------------------------
Hi  https://community.jboss.org/people/swiderski.maciej *Maciej Swiderski* , 

    Thank you very much.

   Code :  used MVEL   - >Updated param  customerProfile.cardIssueStatus  , Customet profile object is added to Map params while starting the process.
System.out.println(
" In pre Processor : customerProfile.appliedLimit -> " + customerProfile.appliedLimit ); 









***if
**
(customerProfile.appliedLimit > 30000) {customerProfile.accessCreditCardService = 

**true**;} 

**else** {customerProfile.cardIssueStatus = 

" Credit Card Issue process is suspended due to applied limit is < 30K , Logged the status and sent eMail ";}

System.out.println(

" In pre Processor : customerProfile.accessCreditCardService -> " + customerProfile.accessCreditCardService ); System.out.println(

" In pre Processor : customerProfile.cardIssueStatus -> " + customerProfile.cardIssueStatus ); System.out.println(

"\n" );
* 


   I am attaching the source code while editing the discussion. 


-Regards,
Lingaiah.S

--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/752806#752806]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120809/f8669ce0/attachment.html 


More information about the jboss-user mailing list