Hi Brian

 

The fact that the dialog is just another view of the parent form makes no
difference - they are 2 separate windows.  The active links on one window
cannot perform an action directly on the other window.  If the table you are
trying to do the COLSUM on is on the parent window, the active link to
perform this action needs to be run on the parent window, not the dialog.

 

When you Close the dialog, all further active link actions against that
window will be lost - they do not continue against the parent window.

 

Hope that makes sense.

 

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 4:21 PM
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

 

__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