Brian,

What you are seeing here is NOT Action 4 of the active link that executes on
the Dialog, it is Action 2 of the active link that does the window open. We
don't see it in the log but I would assume that action 0 is Open Window,
then 1 is the Wait and 2 is the table refresh. Add the colsum to the active
link that does the window open (in place of, before, or after the Wait
action) and it will work as you want it to.

Scott Parrish

IT Prophets, LLC

(770) 653-5203

http://www.itprophets.com

  _____  

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Sokol, Brian
Sent: Tuesday, September 11, 2007 11:21 AM
To: [email protected]
Subject: Re: Workflow will not fire?

 

David it is a dialog but simply another view of the same form so it should
work. I see in the AL log that once the dialog window closes the calling AL
continues. Here is a piece of the log. You can see the continue statement.
Action 4 (Refresh field) fires but not action 3.

 

<ACTL> Checking SCHN-PO4PushNonStandardItem (0)
<ACTL>     -> Passed qualification -- perform if actions
<ACTL>          0: Push Fields
<ACTL>             To Schema SCHN-POLineItem on Server @

 

<ACTL>             (536870914) = 1
<ACTL>             (536871019) = PO001279D84E93lZ_mRgSDAhQwivxE
<ACTL>             (536870917) = 1
<ACTL>             (536880934) = 
<ACTL>             (536880935) = 
<ACTL>             (536870913) = 1
<ACTL>             (536870916) = 11.330
<ACTL>             (536870915) = 11.33

 

<ACTL>          1: Close Window
<ACTL> /* Tue Sep 11 2007 10:01:47 */
<ACTL> --1-- Start active link processing -- Operation - On Window Close
<ACTL>     For Schema - SCHN-PO4
<ACTL>     On screen type - DIALOG

 

<ACTL> /* Tue Sep 11 2007 10:01:47 */
<ACTL> --1-- Stop active link processing - On Window Close
<ACTL>          1: Wait
<ACTL>            Continue: Continue
<ACTL>          2: Set Characteristics
<ACTL>             For field -- Table Field (536871020)
<ACTL>               Refresh field
<ACTL> /* Tue Sep 11 2007 10:01:47 */

 

  _____  

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of David Sanders
Sent: Tuesday, September 11, 2007 11:12 AM
To: [email protected]
Subject: Re: Workflow will not fire?

** 

Hi Brian

 

Am I right in thinking that the active link is running on a button click in
the dialog, but action 3 is trying to perform a COLSUM against the table on
the parent form? - if so, this will not work.

 

You need to split this into separate active links on each of the 2 forms as
follows:

 

Parent form - active link on button click opens dialog form

Dialog form - active link on button click pushes data to backend form,
(commits changes and) closes dialog window

Parent form - active link (checks for result of commit from dialog, and)
refreshes table and does COLSUM set fields.

 

Note that the 2 active links on the parent form could be a single active
link if you do not care to check the result passed back from the dialog in
the Close Window mapping.  Opening the dialog form in dialog mode will stop
processing the active link on the parent form until the dialog has been
closed.

 

If your COLSUM needs to take account of the new record created by the push
fields, you should do the refresh before you do the COLSUM operation.

 

HTH

 

David Sanders

Remedy Solution Architect

Enterprise Service Suite @ Work

==========================

ARS List Award Winner 2005

Best 3rd party Remedy Application

 

See the
<http://www.westoverconsulting.co.uk/downloads/ESS_Concepts_Guide.pdf> ESS
Concepts Guide

 

tel +44 1494 468980

mobile +44 7710 377761

email [EMAIL PROTECTED]

 

web http://www.westoverconsulting.co.uk
<http://www.westoverconsulting.co.uk/> 

 

  _____  

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Sokol, Brian
Sent: Tuesday, September 11, 2007 3:54 PM
To: [email protected]
Subject: Re: Workflow will not fire?

 

Hi Roger,

I have a display only form with a table of items. This is a purchase request
form. A user can select one of the items and a quantity and click on the Add
To PO button. This performs the same actions as the AL I am having problems
with except there is no Close Window action. This all works OK and the
COLSUM function works. If a user needs to order a non-standard item (one
that is not listed on the form) they click on a button and open a Dialog
box. This dialog box is a different view of the same display only form. They
fill in a few fields including quantity and price. They then have to click
on the same Add To PO button to perform the 4 actions I listed below.
Actions 1, 2 and 4 always fire. Action 3 never fires and is never listed in
the AL log. Hope this clears this up.

 

thanks,

Brian

 

__20060125_______________________This posting was submitted with HTML in
it___

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to