infor.com
concierge
infor u
developer portal
Home
Groups
Lawson - Human Resources Customer Community [READ ONLY]
IPA Branch Node - Condition Expression Builder
sriman-shivakoti
I am trying to send a form to employees when they change either their address1 or their city and live in PA. I do not want the form to be sent if they’ve only changed their phone number.
I have this formula in the Condition Expression Builder but it is sending the form even when it is only a phone number change.
(qEMP_PROCESS_LEVEL==30 &&qEMP_STATE =="PA" &&oldAddr1!=qEMP_ADDR1) || (qEMP_PROCESS_LEVEL==30 &&qEMP_STATE =="PA" &&oldCity!=qEMP_CITY)
Does anyone know how I can make this happen? Do I have to create a separate branch node and then a separate e-mail node when the address line 1 changes and another when the city changes?
Find more posts tagged with
Comments
Legacy Contributor
we are not on IPA yet (still using pfi) but the syntax should not have changed. The code looks ok to me but i can suggest 1) maybe adding an assign node before the branch to display what is in the old variables - are you sure they are matching in the people who only change their phone #. 2) Are the old and new fields the same length - i have had issues with matching when the lengths have been different.
sriman-shivakoti
I had cross-posted this and received this answer from the technology forum and it appears to have resolved the issue.
Did you try timming the spaces on your variables for City and Address?
(qEMP_PROCESS_LEVEL==30 &&qEMP_STATE =="PA" &&trim(oldAddr1)!=trim(qEMP_ADDR1)) || (qEMP_PROCESS_LEVEL==30 &&qEMP_STATE =="PA" &&trim(oldCity)!=trim(qEMP_CITY))
Important Links
Community Hubs
Discussion Forums
Groups
Community News
Popular Tags
ION Connect
ION Workflow
ION API Gateway
Syteline Development
CPQ Discussion Ask a Colleague
Infor Data Fabric
Infor Document Management (IDM)
LN Development
API Usage
FAQs, How-To, and Best Practices