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&...]