Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
User Experience
Lawson Design Studio
AGS to WFWK.1
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
LindseyC
Past 24 Hours:
0
Prev. 24 Hours:
3
Overall:
5183
People Online:
Visitors:
221
Members:
0
Total:
221
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Lawson Design Studio
AGS to WFWK.1
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Shane Jones
Veteran Member
Posts: 460
4/2/2007 1:03 AM
Sample AGS for WFWK.1
Anyone have the format for an AGS call to WFWK.1 to trigger a flow? I am thinking I might be able to create a simple html page with a button that will kick off a flow when the button is clicked?
All I am going to do is create a page with a button that runs the AGS call to start the flow. It does not need to be associated with an employee or anything it just needs to start the flow - "payflow_v01"
Anyone know how to format the AGS?
awolff01
Basic Member
Posts: 8
10/4/2007 2:06 PM
Here is a snippet of perl code that shows the format:
my $agsparam = join "",'_TKN=', $token1, '&_PDL=', $pl, '&_EVT=', $agsevt,
'&FC=', $fctk1, '&SERVICE=', $service, '&WORK-TITLE=', $worktitle,
'&PRODUCT-LINE=',$apppl,'&_OUT=XML';
Shane Jones
Veteran Member
Posts: 460
10/5/2007 12:12 PM
So....
Does anyone know how to string all of this together into an AGS?
John Henley
Senior Member
Posts: 3348
10/5/2007 4:17 PM
Do you mean from Javascript in Design Studio?
Shane Jones
Veteran Member
Posts: 460
10/7/2007 6:38 PM
Actually,
I would like to just create a simple HTML page with a button that would run the AGS when clicked??? Then I could include the simple html page on the lawson server and give the two associates a bookmark in t he bookmark manager that would open the html page....
Shane
Sreenivasa Komma
Basic Member
Posts: 19
10/8/2007 6:41 PM
AGS Call to WKWK.1:
_PDL=<!ccsProdline>&_TKN=WFWK.1&_EVT=ADD&_RTN=DATA&_LFN=ALL&_TDS=IGNORE&FC=Add&SERVICE=<!serviceName>&WORK-TITLE=<!title>&PRODUCT-LINE=<!appProdline>&_DELIM=%09&_OUT=TEXT&_EOT=TRUE
John Henley
Senior Member
Posts: 3348
10/8/2007 9:39 PM
Actually that syntax is for calling from ProcessFlow. You would need to adapt the code a little (in particular the variable names) to be able to call it from a Web page. Would your .html page be running from within Lawson Portal / Design Studio, or outside of it? Reason I ask is that you can take some shortcuts if it's being run from Portal.
Gopireddy
Basic Member
Posts: 6
4/24/2013 5:41 PM
Does any one can provide to run from outside of Lawson
Robert Spurr
Veteran Member
Posts: 130
4/25/2013 2:23 PM
Here is a sample trigger call made using WFWK:
var s = portalWnd.AGSPath + "?_PDL=" + strPDL +
"&_TKN=WFWK.1&_EVT=ADD&_RTN=DATA&_LFN=ALL&_TDS=IGNORE" +
"&FC=ADD&SERVICE=PO30E.1_R&WORK-TITLE=Tech Email Heat" +
"&CRITERION-1=" + pCompany +
"&VARIABLE-NAMEr0=COMPANY" +
"&VARIABLE-VALUEr0=" + pCompany +
"&VARIABLE-NAMEr1=PO" +
"&VARIABLE-VALUEr1=" + pPoNbr +
"&VARIABLE-NAMEr2=POCODE" +
"&VARIABLE-VALUEr2=" + pPoCode +
"&VARIABLE-NAMEr3=POREL" +
"&VARIABLE-VALUEr3=" + pPoRel +
"&VARIABLE-NAMEr4=RECEIVER" +
"&VARIABLE-VALUEr4=" + pReceiver +
"&_DELIM=%09&_OUT=XML&_EOT=TRUE";
portalWnd.httpRequest(s);
Shane Jones
Veteran Member
Posts: 460
5/24/2013 2:51 AM
Anyone know if WFWK still works in V10?
John Henley
Senior Member
Posts: 3348
5/24/2013 2:55 PM
No, you need to convert it to use the IPA / Landmark transaction servlet.
You are not authorized to post a reply.