Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
S3 Customization/Development
Call a Process Flow from within JavaScript
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Saef
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5226
People Online:
Visitors:
408
Members:
0
Total:
408
Online Now:
New Topics
User Group Announcements
Carolina User Group Meeting
12/20/2024 3:15 PM
Date & Time: February 6, 2025, 8:30am - 4:00pm
S3 Systems Administration
ADFS certificate - new cert
12/3/2024 9:38 PM
The certificates on the windows boxes expired and
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson S3 HR/Payroll/Benefits
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1372
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Integration / Customization
S3 Customization/Development
Call a Process Flow from within JavaScript
Please
login
to post a reply.
7 Replies
1
Subscribed to this topic
17 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
FireGeek21
Veteran Member
Posts: 84
12/26/2012 1:43 AM
We are looking to add customization to our Benefits Enrollment within EMSS. A major part of this customization would include calling a process flow that would send an email to that specific staff person with a form attached. Looking for a way to call this process flow and pass to the flow the staff person's employee id.
Has anyone done something similar? Suggestions on how to accomplish this? Fairly new to JavaScript so details would help greatly!!!
Thank you!
Shane Jones
Veteran Member
Posts: 460
12/26/2012 3:47 AM
Just want to share a thought that might reduce your need for customization . Lawson has a flow that can be used to trigger automatically. Just need to enable it and ad a few dodes based on your business need. (there is a foundation version requirement for their solution....)
Otherwise if that is not an option for you - could you send at the end of the day based on a schedule that looks at transactions from the previous day?
FireGeek21
Veteran Member
Posts: 84
12/26/2012 3:59 PM
I don't see how running the process flow with a trigger can help.
More information: We would like the staff person to answer some questions regarding their adult dependent children. Based on how the questions are answered, we would need to, through html or javascript, kick off an associated process flow that would send the staff person some forms they would have to fill out and turn in regarding adult child eligibility. This same concept is going to be used in other areas of annual enrollment - answer questions and based on the answer, a process flow would be kicked off and send them the needed forms.
My understanding of the Benefit Enrollment process is that the dependent benefit information is stored in BS30 and the employee benefit information is stored in BS31. After Benefit Enrollment is closed, the information from both these locations is loaded. My understanding is that the BS30 and BS31 cannot be reported on. Due to this, I don't see how a process flow can grab only the changes made during that day. Also, we would like the flow to run after each interaction with Benefit Enrollment just in case a staff person were to go back through Benefit Enrollment to make changes.
Still looking for a solution!
Thanks!
KB
Posts: 23
12/26/2012 8:02 PM
I have done similar modifications before by adding a User Exit to BS31 or BS30 which triggered a flow. Sent email notifications to employees following changes to 401k amounts. Let me know if you have any more questions about mechanics of how to make that happen.
Shane Jones
Veteran Member
Posts: 460
5/14/2013 3:08 AM
Not sure why you couldn't report on (query) information from BS30 and BS31... They are just showing data in tables until you bring them live and they definitely have the record creation date. BNBEN and HRDEPBEN (I think - or is it DEPBEN?).... You can include documents within any process flow email that you want to send. You could query the tables directly for the criteria that creates the need for special paperwork and then send it with a confirmation email... (I.e dependent child over age ## that is not listed as a student.)
The newer version of ESS has a trigger built into the benefit enrollment process that allows for an enrollment confirmation email to be sent when the associate completes enrollment. I have not see the email yet but it is apparently part of the process automation solutions so it should be editable. You could modify the delivered process to lookup information, make a decision and send the appropriate paperwork...
We have many scheduled Process Flows that query data in a table and make a decision on what to do that were created from scratch.... Many times because the timing is not that important I have flows that are scheduled to run once a day to find records that were entered on the previous day.
(There are many consultants that could create this type of Process Automation Flow in a week if you have your criteria documented well.)
Chris12
Veteran Member
Posts: 150
10/15/2014 11:54 AM
I was just wondering if anyone figured out how to actually call a PFLOW from javascript?
Rob Conrad
Veteran Member
Posts: 73
10/15/2014 7:35 PM
Chris -
It can be done in javascript using the API to trigger the flow.
We actually did this as an exercise in a PFI class I was teaching a couple of years ago using the Training programs within EMSS.
Just call the bpm/trigger.do?(passing the key variables) from your javascript function and you are good to go.
Rob
JimY
Veteran Member
Posts: 510
10/17/2014 7:49 PM
What version of Process Flow does this work in? We are on version 10.1.1.7 of Landmark and I would be interested in trying it out. Can you give an example? Thank you.
Please
login
to post a reply.