Sure.
--
Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix / Picometrix
    bspolarich@... ~ 734-864-5618 ~ www.advancedphotonix.com
-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Rob Bucek
Sent: Tuesday, January 05, 2010 1:40 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Calling SC Workflow from BPM Post-Processing Action
I have it working on my test platform...do you want me to package it up
and send it to you offline?
Rob Bucek
Manufacturing Engineer
PH: (715) 284-5376 ext 3111
FAX: (715)284-4084
<http://www.dsmfg.com/>
(Click the logo to view our site) <http://www.dsmfg.com/>
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Brian W. Spolarich
Sent: Tuesday, January 05, 2010 11:35 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Calling SC Workflow from BPM Post-Processing
Action
I've tried creating the simplest example.
I install the AbcCode service. Create a post-processing directive to
call a workflow that looks like this:
Start -> Conversion -> End
I just want to see it work without complaining.
The conversion uses AbcCodeUpdateRequest as its schema, and maps some
data to the output document.
I'm calling the workflow synchronously.
The workflow has a message type of UD03Import, with document tracking
required, and a single action called "Default".
There is a message map that defines sender (any) subname (any) type
UD03Import as calling my workflow (although I don't see how these get
used since the input channel isn't one that I configure in this case.
I still get the "appserver error" message and these messages in the log:
[10/01/05@12:27:58.673-0500] P-008744 T-007576 1 AS -- ** 4GL
Debug-Alert Stack Trace **
[10/01/05@12:27:58.673-0500] P-008744 T-007576 1 AS -- -->
Post10_A1_Update bo/AbcCode.p (C:\EPICOR\Test803\BPM\bo\AbcCode.r) at
line 3702
[10/01/05@12:27:58.673-0500] P-008744 T-007576 1 AS -- Update
bo/AbcCode.p (C:\EPICOR\Test803\BPM\bo\AbcCode.r) at line 3916
[10/01/05@12:27:58.673-0500] P-008744 T-007576 1 AS -- Invalid or
inappropriate server handle specified for RUN WorkflowWebSrvSoap ... ON
SERVER statement. (5453)
[10/01/05@12:27:58.673-0500] P-008744 T-007576 1 AS -- ** 4GL
Debug-Alert Stack Trace **
[10/01/05@12:27:58.673-0500] P-008744 T-007576 1 AS -- -->
Post10_A1_Update bo/AbcCode.p (C:\EPICOR\Test803\BPM\bo\AbcCode.r) at
line 3702
[10/01/05@12:27:58.673-0500] P-008744 T-007576 1 AS -- Update
bo/AbcCode.p (C:\EPICOR\Test803\BPM\bo\AbcCode.r) at line 3916
[10/01/05@12:27:58.673-0500] P-008744 T-007576 4 AS AS -- TRACE:
SINGLE-RUN Procedure END ERROR. (8458)
Clearly I'm doing something wrong.
--
Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix /
Picometrix
bspolarich@...
<mailto:bspolarich%40advancedphotonix.com> ~ 734-864-5618 ~
www.advancedphotonix.com
-----Original Message-----
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of Rob Bucek
Sent: Tuesday, January 05, 2010 11:51 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] Calling SC Workflow from BPM Post-Processing
Action
Do you have the service connect user guide? They have an excellent
example in there on how to set up what you are trying to do. There are
two pitfalls they do not mention however..
1) In the workflow called by the BPM map in your directive, under
properties, set document tracking to REQUIRED. The unique thing about
BPM workflows is that nothing will appear in your inbound messages
folder, look to all activities to track the workflow.
2) There can be schema mismatches between what is coming from the
BPM and the web service schemas you are trying to hook up to. Just be
aware of this, you may need to do a straight poster and use the file to
create a new user defined schema (not that I think this is the problem
you are suffering).
I noticed a reference to asynch in your attached file. Is there a
particular reason you want to perform an asynchronous work flow call?
Try a synchronous call if that will work for you.
Rob Bucek
Manufacturing Engineer
PH: (715) 284-5376 ext 3111
FAX: (715)284-4084
<http://www.dsmfg.com/>
(Click the logo to view our site) <http://www.dsmfg.com/>
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf
Of Brian W. Spolarich
Sent: Tuesday, January 05, 2010 10:22 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] Calling SC Workflow from BPM Post-Processing
Action
Read below. The appserver log entries are what I included. :-)
Rob, yes I'm talking about firing a SC workflow from a BPM action.
Basically I want to post-process some SalesOrder.Update activity,
particularly to deal with "before" and "after" change data on SalesOrder
dates.
-bws
--
Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix /
Picometrix
bspolarich@...
<mailto:bspolarich%40advancedphotonix.com>
<mailto:bspolarich%40advancedphotonix.com> ~ 734-864-5618 ~
www.advancedphotonix.com
-----Original Message-----
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> ] On
Behalf Of Charlie Wilson
Sent: Tuesday, January 05, 2010 9:51 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] Calling SC Workflow from BPM Post-Processing
Action
What is in the appserver log?
~Charlie
_____
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> ] On
Behalf Of
Brian W. Spolarich
Sent: Tuesday, January 05, 2010 9:25 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Calling SC Workflow from BPM Post-Processing Action
Can someone give me some pointers on how to set this up? I know how
to make the link from the Method Directives program, but how do I
actually create a workflow that anticipates a Vantage BPM action as the
invoker.
So far I just get this error, trying to invoke an empty workflow:
[10/01/05@09:20:03.503-0500] P-009748 T-007220 1 AS -- Invalid or
inappropriate server handle specified for RUN WorkflowWebSrvSoap ... ON
SERVER statement. (5453)
[10/01/05@09:20:03.503-0500] P-009748 T-007220 1 AS -- ** 4GL
Debug-Alert Stack Trace **
[10/01/05@09:20:03.503-0500] P-009748 T-007220 1 AS -- -->
WorkflowCallAsync Bpm/BpmWorkflowAsync.p
(c:\epicor\mfgsys803\Server\Bpm\BpmWorkflowAsync.r) at line 1304
[10/01/05@09:20:03.503-0500] P-009748 T-007220 1 AS --
ProcessQueuedActions Bpm/BpmProcessAction.p
(c:\epicor\mfgsys803\Server\Bpm\BpmProcessAction.r) at line 4189
[10/01/05@09:20:03.503-0500] P-009748 T-007220 1 AS --
Bpm/BpmProcessAction.p
(c:\epicor\mfgsys803\Server\Bpm\BpmProcessAction.r) at line 4084
[10/01/05@09:20:03.503-0500] P-009748 T-007220 1 AS --
agent/RunTask.p (c:\epicor\mfgsys803\Server\agent\RunTask.r) at line
1600
[10/01/05@09:20:03.503-0500] P-009748 T-007220 1 AS -- (Procedure:
'WorkflowCallAsync Bpm/BpmWorkflowAsync.p' Line:1431) Unexpected error -
see appserver logs.
-bws
--
Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix /
Picometrix
bspolarich@advanced <mailto:bspolarich%40advancedphotonix.com>
photonix.com
<mailto:bspolarich@advanced <mailto:bspolarich%40advancedphotonix.com>
photonix.com> ~ 734-864-5618 ~
www.advancedphotonix.com <http://www.advanced
<http://www.advancedphotonix.com> photonix.com>
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
------------------------------------
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder
and Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
<http://groups.yahoo.com/group/vantage/files/>
<http://groups.yahoo.com/group/vantage/files/>
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
[Non-text portions of this message have been removed]
------------------------------------
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder
and Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
<http://groups.yahoo.com/group/vantage/files/>
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
[Non-text portions of this message have been removed]
------------------------------------
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
--
Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix / Picometrix
    bspolarich@... ~ 734-864-5618 ~ www.advancedphotonix.com
-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Rob Bucek
Sent: Tuesday, January 05, 2010 1:40 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Calling SC Workflow from BPM Post-Processing Action
I have it working on my test platform...do you want me to package it up
and send it to you offline?
Rob Bucek
Manufacturing Engineer
PH: (715) 284-5376 ext 3111
FAX: (715)284-4084
<http://www.dsmfg.com/>
(Click the logo to view our site) <http://www.dsmfg.com/>
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Brian W. Spolarich
Sent: Tuesday, January 05, 2010 11:35 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Calling SC Workflow from BPM Post-Processing
Action
I've tried creating the simplest example.
I install the AbcCode service. Create a post-processing directive to
call a workflow that looks like this:
Start -> Conversion -> End
I just want to see it work without complaining.
The conversion uses AbcCodeUpdateRequest as its schema, and maps some
data to the output document.
I'm calling the workflow synchronously.
The workflow has a message type of UD03Import, with document tracking
required, and a single action called "Default".
There is a message map that defines sender (any) subname (any) type
UD03Import as calling my workflow (although I don't see how these get
used since the input channel isn't one that I configure in this case.
I still get the "appserver error" message and these messages in the log:
[10/01/05@12:27:58.673-0500] P-008744 T-007576 1 AS -- ** 4GL
Debug-Alert Stack Trace **
[10/01/05@12:27:58.673-0500] P-008744 T-007576 1 AS -- -->
Post10_A1_Update bo/AbcCode.p (C:\EPICOR\Test803\BPM\bo\AbcCode.r) at
line 3702
[10/01/05@12:27:58.673-0500] P-008744 T-007576 1 AS -- Update
bo/AbcCode.p (C:\EPICOR\Test803\BPM\bo\AbcCode.r) at line 3916
[10/01/05@12:27:58.673-0500] P-008744 T-007576 1 AS -- Invalid or
inappropriate server handle specified for RUN WorkflowWebSrvSoap ... ON
SERVER statement. (5453)
[10/01/05@12:27:58.673-0500] P-008744 T-007576 1 AS -- ** 4GL
Debug-Alert Stack Trace **
[10/01/05@12:27:58.673-0500] P-008744 T-007576 1 AS -- -->
Post10_A1_Update bo/AbcCode.p (C:\EPICOR\Test803\BPM\bo\AbcCode.r) at
line 3702
[10/01/05@12:27:58.673-0500] P-008744 T-007576 1 AS -- Update
bo/AbcCode.p (C:\EPICOR\Test803\BPM\bo\AbcCode.r) at line 3916
[10/01/05@12:27:58.673-0500] P-008744 T-007576 4 AS AS -- TRACE:
SINGLE-RUN Procedure END ERROR. (8458)
Clearly I'm doing something wrong.
--
Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix /
Picometrix
bspolarich@...
<mailto:bspolarich%40advancedphotonix.com> ~ 734-864-5618 ~
www.advancedphotonix.com
-----Original Message-----
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of Rob Bucek
Sent: Tuesday, January 05, 2010 11:51 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] Calling SC Workflow from BPM Post-Processing
Action
Do you have the service connect user guide? They have an excellent
example in there on how to set up what you are trying to do. There are
two pitfalls they do not mention however..
1) In the workflow called by the BPM map in your directive, under
properties, set document tracking to REQUIRED. The unique thing about
BPM workflows is that nothing will appear in your inbound messages
folder, look to all activities to track the workflow.
2) There can be schema mismatches between what is coming from the
BPM and the web service schemas you are trying to hook up to. Just be
aware of this, you may need to do a straight poster and use the file to
create a new user defined schema (not that I think this is the problem
you are suffering).
I noticed a reference to asynch in your attached file. Is there a
particular reason you want to perform an asynchronous work flow call?
Try a synchronous call if that will work for you.
Rob Bucek
Manufacturing Engineer
PH: (715) 284-5376 ext 3111
FAX: (715)284-4084
<http://www.dsmfg.com/>
(Click the logo to view our site) <http://www.dsmfg.com/>
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf
Of Brian W. Spolarich
Sent: Tuesday, January 05, 2010 10:22 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] Calling SC Workflow from BPM Post-Processing
Action
Read below. The appserver log entries are what I included. :-)
Rob, yes I'm talking about firing a SC workflow from a BPM action.
Basically I want to post-process some SalesOrder.Update activity,
particularly to deal with "before" and "after" change data on SalesOrder
dates.
-bws
--
Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix /
Picometrix
bspolarich@...
<mailto:bspolarich%40advancedphotonix.com>
<mailto:bspolarich%40advancedphotonix.com> ~ 734-864-5618 ~
www.advancedphotonix.com
-----Original Message-----
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> ] On
Behalf Of Charlie Wilson
Sent: Tuesday, January 05, 2010 9:51 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] Calling SC Workflow from BPM Post-Processing
Action
What is in the appserver log?
~Charlie
_____
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> ] On
Behalf Of
Brian W. Spolarich
Sent: Tuesday, January 05, 2010 9:25 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Calling SC Workflow from BPM Post-Processing Action
Can someone give me some pointers on how to set this up? I know how
to make the link from the Method Directives program, but how do I
actually create a workflow that anticipates a Vantage BPM action as the
invoker.
So far I just get this error, trying to invoke an empty workflow:
[10/01/05@09:20:03.503-0500] P-009748 T-007220 1 AS -- Invalid or
inappropriate server handle specified for RUN WorkflowWebSrvSoap ... ON
SERVER statement. (5453)
[10/01/05@09:20:03.503-0500] P-009748 T-007220 1 AS -- ** 4GL
Debug-Alert Stack Trace **
[10/01/05@09:20:03.503-0500] P-009748 T-007220 1 AS -- -->
WorkflowCallAsync Bpm/BpmWorkflowAsync.p
(c:\epicor\mfgsys803\Server\Bpm\BpmWorkflowAsync.r) at line 1304
[10/01/05@09:20:03.503-0500] P-009748 T-007220 1 AS --
ProcessQueuedActions Bpm/BpmProcessAction.p
(c:\epicor\mfgsys803\Server\Bpm\BpmProcessAction.r) at line 4189
[10/01/05@09:20:03.503-0500] P-009748 T-007220 1 AS --
Bpm/BpmProcessAction.p
(c:\epicor\mfgsys803\Server\Bpm\BpmProcessAction.r) at line 4084
[10/01/05@09:20:03.503-0500] P-009748 T-007220 1 AS --
agent/RunTask.p (c:\epicor\mfgsys803\Server\agent\RunTask.r) at line
1600
[10/01/05@09:20:03.503-0500] P-009748 T-007220 1 AS -- (Procedure:
'WorkflowCallAsync Bpm/BpmWorkflowAsync.p' Line:1431) Unexpected error -
see appserver logs.
-bws
--
Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix /
Picometrix
bspolarich@advanced <mailto:bspolarich%40advancedphotonix.com>
photonix.com
<mailto:bspolarich@advanced <mailto:bspolarich%40advancedphotonix.com>
photonix.com> ~ 734-864-5618 ~
www.advancedphotonix.com <http://www.advanced
<http://www.advancedphotonix.com> photonix.com>
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
------------------------------------
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder
and Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
<http://groups.yahoo.com/group/vantage/files/>
<http://groups.yahoo.com/group/vantage/files/>
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
[Non-text portions of this message have been removed]
------------------------------------
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder
and Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
<http://groups.yahoo.com/group/vantage/files/>
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
[Non-text portions of this message have been removed]
------------------------------------
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links