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
Infor Lawson Human Resources Group - Discussion
Comments
unknown
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))
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Popular Tags
Infor Lawson Human Resources Group - Discussion
Infor Lawson Technology Group - Discussion
General Discussions
VISUAL - Enterprise General Discussions
Infor Lawson Supply Chain Management - Discussion
Process Automation (IPA) - General Discussions
Pegasus - Partner General Discussions
Infor Lawson Supply Chain Group - Discussion
Infor Lawson Financials Group - Discussion
Infor EPM Discussions