#510 - 01/12/99 12:57 PM
Run Process - macro
|
Anonymous
Unregistered
|
Hi . . .
Sorry if this has been covered before!
I am attempting to merge one ticket (a) to another existing ticket (b)
within the same schema. Diary fields are included. I have recorded a macro
which performs a modify all on ticket (b). My macro is run from a run
process within a filter triggered by a specific user action on ticket (a).
According to the filter log and SQL log, everything looks just nifty.
However, ticket (b) is not getting updated in any way.
My run process command is as follows:
aruser -d /opt/apps/ar/arcmds -e "CR Merge" -p "Master Match"=$Master CR #$
-p "Comment Log" = $Comment Log$ -p "Description" = $Description$ -p
"Justification" = $Justification$
-p "Master" = $Master CR #$ -p "Last Merged" = $CR #$
My "Master Match" finds ticket (b) based on entry-ID (so I know there will
only be one match). All the other parameters should get copied from ticket
(a).
As the administrator, I have access to all fields on the schema. I know
that filters run with admin permissions, but does the user tool get started
with a specific logon/password? If so, which one?
Help!
ARS 3.0.1
Solaris 2.5
Oracle 7.1.3
Clients: winnt 4.0
Susan Binette-Blair
INVESCO-Denver
|
|
Top
|
|
|
|
|
#511 - 01/12/99 02:02 PM
Re: Run Process - macro
[Re: Anonymous]
|
Anonymous
Unregistered
|
I have added the double quotes as Phil suggested, and NOTHING seemed to
change.
I am NOT exporting the ARHOME variable. Why should I have to if it is
explicitly stated in the run process command? And if I have to, at what
point would that be done - as another run process command?
Lastly, I have also added the full path name of the "aruser" exe, just in
case it didn't know where to go.
Thanks -
Susan Binette-Blair
-----Original Message-----
From: Cornett, Manotee J. [mailto:manotee.cornett@TELDTA.COM]
Sent: Tuesday, January 12, 1999 1:55 PM
To: ARSLIST@LISTSERV.ACSU.BUFFALO.EDU
Subject: Re: Run Process - macro
Also, are you exporting ARHOME?
> ----------
> From: Phil Murnane[SMTP:philip.murnane@SSDS.COM]
> Sent: 1/12/1999 2:38 PM
> To: ARSLIST@LISTSERV.ACSU.BUFFALO.EDU
> Subject: Re: Run Process - macro
>
> Susan:
>
> Try putting double-quotes around the substituted fields. Eg,
>
> aruser -d /opt/apps/ar/arcmds -e "CR Merge" -p "Master Match"="$Master CR
> #$"
> -p "Comment Log" = "$Comment Log$" -p "Description" = "$Description$" -p
> "Justification" = "$Justification$" -p "Master" = "$Master CR #$" -p "Last
> Merged" = "$CR #$"
>
> You may also have to add workflow to make sure there are no single- or
> double-quotes in any of the field values because unix may get confused if
> it
> sees something like
>
> ... -p "$Description$" -p "Can you say, "confusing?"" ...
>
> after expanding the field into its value.
>
> HTH,
> --Phil
>
>
> -----Original Message-----
> From: Action Request System discussion list(ARSList)
> [mailto:ARSLIST@listserv.acsu.buffalo.edu]On Behalf Of Binette-Blair,
> Susan
> Sent: Tuesday, January 12, 1999 19:57
> To: ARSLIST@listserv.acsu.buffalo.edu
> Subject: Run Process - macro
>
>
> Hi . . .
>
> Sorry if this has been covered before!
>
> I am attempting to merge one ticket (a) to another existing ticket (b)
> within the same schema. Diary fields are included. I have recorded a
> macro
> which performs a modify all on ticket (b). My macro is run from a run
> process within a filter triggered by a specific user action on ticket (a).
> According to the filter log and SQL log, everything looks just nifty.
> However, ticket (b) is not getting updated in any way.
>
> My run process command is as follows:
>
> aruser -d /opt/apps/ar/arcmds -e "CR Merge" -p "Master Match"=$Master CR
> #$
> -p "Comment Log" = $Comment Log$ -p "Description" = $Description$ -p
> "Justification" = $Justification$
> -p "Master" = $Master CR #$ -p "Last Merged" = $CR #$
>
> My "Master Match" finds ticket (b) based on entry-ID (so I know there will
> only be one match). All the other parameters should get copied from
> ticket
> (a).
>
> As the administrator, I have access to all fields on the schema. I know
> that filters run with admin permissions, but does the user tool get
> started
> with a specific logon/password? If so, which one?
>
> Help!
>
> ARS 3.0.1
> Solaris 2.5
> Oracle 7.1.3
> Clients: winnt 4.0
>
> Susan Binette-Blair
> INVESCO-Denver
>
|
|
Top
|
|
|
|
|
#512 - 01/12/99 02:54 PM
Re: Run Process - macro
[Re: Anonymous]
|
Anonymous
Unregistered
|
Also, are you exporting ARHOME?
> ----------
> From: Phil Murnane[SMTP:philip.murnane@SSDS.COM]
> Sent: 1/12/1999 2:38 PM
> To: ARSLIST@LISTSERV.ACSU.BUFFALO.EDU
> Subject: Re: Run Process - macro
>
> Susan:
>
> Try putting double-quotes around the substituted fields. Eg,
>
> aruser -d /opt/apps/ar/arcmds -e "CR Merge" -p "Master Match"="$Master CR
> #$"
> -p "Comment Log" = "$Comment Log$" -p "Description" = "$Description$" -p
> "Justification" = "$Justification$" -p "Master" = "$Master CR #$" -p "Last
> Merged" = "$CR #$"
>
> You may also have to add workflow to make sure there are no single- or
> double-quotes in any of the field values because unix may get confused if
> it
> sees something like
>
> ... -p "$Description$" -p "Can you say, "confusing?"" ...
>
> after expanding the field into its value.
>
> HTH,
> --Phil
>
>
> -----Original Message-----
> From: Action Request System discussion list(ARSList)
> [mailto:ARSLIST@listserv.acsu.buffalo.edu]On Behalf Of Binette-Blair,
> Susan
> Sent: Tuesday, January 12, 1999 19:57
> To: ARSLIST@listserv.acsu.buffalo.edu
> Subject: Run Process - macro
>
>
> Hi . . .
>
> Sorry if this has been covered before!
>
> I am attempting to merge one ticket (a) to another existing ticket (b)
> within the same schema. Diary fields are included. I have recorded a
> macro
> which performs a modify all on ticket (b). My macro is run from a run
> process within a filter triggered by a specific user action on ticket (a).
> According to the filter log and SQL log, everything looks just nifty.
> However, ticket (b) is not getting updated in any way.
>
> My run process command is as follows:
>
> aruser -d /opt/apps/ar/arcmds -e "CR Merge" -p "Master Match"=$Master CR
> #$
> -p "Comment Log" = $Comment Log$ -p "Description" = $Description$ -p
> "Justification" = $Justification$
> -p "Master" = $Master CR #$ -p "Last Merged" = $CR #$
>
> My "Master Match" finds ticket (b) based on entry-ID (so I know there will
> only be one match). All the other parameters should get copied from
> ticket
> (a).
>
> As the administrator, I have access to all fields on the schema. I know
> that filters run with admin permissions, but does the user tool get
> started
> with a specific logon/password? If so, which one?
>
> Help!
>
> ARS 3.0.1
> Solaris 2.5
> Oracle 7.1.3
> Clients: winnt 4.0
>
> Susan Binette-Blair
> INVESCO-Denver
>
|
|
Top
|
|
|
|
|
#513 - 01/12/99 05:11 PM
Re: Run Process - macro
[Re: Anonymous]
|
Anonymous
Unregistered
|
Susan,
You should turn the filter logs on to capture the exact data that is being
passed by the filter. Then you should open a Telnet window on the server
and type the command. You should receive an error message if there is a
problem. This message may now show up in ver. 3.2, but you can use a 3.0
version(If you have access).
Now of course if your going to upgrade to version 4.0, and your just
performing an Update, you no longer need to run the macro, as 4.0 has "PUSH"
capabilities, and Yes you can perform a submit that way.
HTH,
David S. Hutchinson
Enterprise Transformation Services
Norcross, GA
(770) 849-0008
-----Original Message-----
From: Binette-Blair, Susan
To: ARSLIST@LISTSERV.ACSU.BUFFALO.EDU
Date: Tuesday, January 12, 1999 4:05 PM
Subject: Re: Run Process - macro
>I have added the double quotes as Phil suggested, and NOTHING seemed to
>change.
>
>I am NOT exporting the ARHOME variable. Why should I have to if it is
>explicitly stated in the run process command? And if I have to, at what
>point would that be done - as another run process command?
>
>Lastly, I have also added the full path name of the "aruser" exe, just in
>case it didn't know where to go.
>
>Thanks -
>
>Susan Binette-Blair
>-----Original Message-----
>From: Cornett, Manotee J. [mailto:manotee.cornett@TELDTA.COM]
>Sent: Tuesday, January 12, 1999 1:55 PM
>To: ARSLIST@LISTSERV.ACSU.BUFFALO.EDU
>Subject: Re: Run Process - macro
>
>
>Also, are you exporting ARHOME?
>
>> ----------
>> From: Phil Murnane[SMTP:philip.murnane@SSDS.COM]
>> Sent: 1/12/1999 2:38 PM
>> To: ARSLIST@LISTSERV.ACSU.BUFFALO.EDU
>> Subject: Re: Run Process - macro
>>
>> Susan:
>>
>> Try putting double-quotes around the substituted fields. Eg,
>>
>> aruser -d /opt/apps/ar/arcmds -e "CR Merge" -p "Master Match"="$Master CR
>> #$"
>> -p "Comment Log" = "$Comment Log$" -p "Description" = "$Description$" -p
>> "Justification" = "$Justification$" -p "Master" = "$Master CR #$" -p
"Last
>> Merged" = "$CR #$"
>>
>> You may also have to add workflow to make sure there are no single- or
>> double-quotes in any of the field values because unix may get confused if
>> it
>> sees something like
>>
>> ... -p "$Description$" -p "Can you say, "confusing?"" ...
>>
>> after expanding the field into its value.
>>
>> HTH,
>> --Phil
>>
>>
>> -----Original Message-----
>> From: Action Request System discussion list(ARSList)
>> [mailto:ARSLIST@listserv.acsu.buffalo.edu]On Behalf Of Binette-Blair,
>> Susan
>> Sent: Tuesday, January 12, 1999 19:57
>> To: ARSLIST@listserv.acsu.buffalo.edu
>> Subject: Run Process - macro
>>
>>
>> Hi . . .
>>
>> Sorry if this has been covered before!
>>
>> I am attempting to merge one ticket (a) to another existing ticket (b)
>> within the same schema. Diary fields are included. I have recorded a
>> macro
>> which performs a modify all on ticket (b). My macro is run from a run
>> process within a filter triggered by a specific user action on ticket
(a).
>> According to the filter log and SQL log, everything looks just nifty.
>> However, ticket (b) is not getting updated in any way.
>>
>> My run process command is as follows:
>>
>> aruser -d /opt/apps/ar/arcmds -e "CR Merge" -p "Master Match"=$Master CR
>> #$
>> -p "Comment Log" = $Comment Log$ -p "Description" = $Description$ -p
>> "Justification" = $Justification$
>> -p "Master" = $Master CR #$ -p "Last Merged" = $CR #$
>>
>> My "Master Match" finds ticket (b) based on entry-ID (so I know there
will
>> only be one match). All the other parameters should get copied from
>> ticket
>> (a).
>>
>> As the administrator, I have access to all fields on the schema. I know
>> that filters run with admin permissions, but does the user tool get
>> started
>> with a specific logon/password? If so, which one?
>>
>> Help!
>>
>> ARS 3.0.1
>> Solaris 2.5
>> Oracle 7.1.3
>> Clients: winnt 4.0
>>
>> Susan Binette-Blair
>> INVESCO-Denver
>>
|
|
Top
|
|
|
|
|
#514 - 01/12/99 05:17 PM
Re: Run Process - macro
[Re: Anonymous]
|
Anonymous
Unregistered
|
Hi, Susan:
Have you tried debugging the action as recommended in technote #1212?
It shd prove helpful in tracing the source of your problems.
Below is the meat of the technote.
Hope this helps...
Wade H.W. Chia
CGI Telecommunications Information Systems and Services Inc.
595 Bay Street, #1100
Toronto (Ontario) M5G 2C2
mailto:wade.chia@bellsygma.com
-----------------------------------------
The following can be used as a guideline to help in debugging a filter
RunProcess action that is not executing
correctly.
Steps:
1. Put the AR System into Debug Trace Mode for the action you want to debug.
a. In the Admin Tool select File->Server Info, Category = Log Files.
b. Select and Apply the appropriate Debug Trace Mode.
2. Perform the action necessary to execute the RunProcess action.
3. Extract the command line that is logged in the Trace file. This is the exact
command that will be tested in next
step.
4. Execute the command from the Unix command line.
a. Login into the Unix system as the user that owns the arserverd process
(usually the root user). This is
necessary because escalations and filters are executed by the arserverd process
and thus have the same
environment and permissions.
b. RunProcess actions are executed under the Bourne shell. Be sure you are
running under a Bourne shell while
debugging.
c. Execute the command and observe any problems with its execution. If the
RunProcess action is `aruser -e
', run the command with the -i option instead of -e. This will bring
up the user tool and allow you
to see any error messages that may occur.
Conclusion:
RunProcess actions always return an OK status. No errors are logged to the debug
trace log file. In order to
debug a RunProcess action it is necessary to see any errors that may be occur
ring. The idea is to duplicate the
environment that the server has when executing the RunProc ess action and
observe errors that occur when
manually executing the action from the command line.
|
|
Top
|
|
|
|
|
#515 - 01/12/99 08:38 PM
Re: Run Process - macro
[Re: Anonymous]
|
Anonymous
Unregistered
|
Susan:
Try putting double-quotes around the substituted fields. Eg,
aruser -d /opt/apps/ar/arcmds -e "CR Merge" -p "Master Match"="$Master CR
#$"
-p "Comment Log" = "$Comment Log$" -p "Description" = "$Description$" -p
"Justification" = "$Justification$" -p "Master" = "$Master CR #$" -p "Last
Merged" = "$CR #$"
You may also have to add workflow to make sure there are no single- or
double-quotes in any of the field values because unix may get confused if it
sees something like
... -p "$Description$" -p "Can you say, "confusing?"" ...
after expanding the field into its value.
HTH,
--Phil
-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:ARSLIST@listserv.acsu.buffalo.edu]On Behalf Of Binette-Blair,
Susan
Sent: Tuesday, January 12, 1999 19:57
To: ARSLIST@listserv.acsu.buffalo.edu
Subject: Run Process - macro
Hi . . .
Sorry if this has been covered before!
I am attempting to merge one ticket (a) to another existing ticket (b)
within the same schema. Diary fields are included. I have recorded a macro
which performs a modify all on ticket (b). My macro is run from a run
process within a filter triggered by a specific user action on ticket (a).
According to the filter log and SQL log, everything looks just nifty.
However, ticket (b) is not getting updated in any way.
My run process command is as follows:
aruser -d /opt/apps/ar/arcmds -e "CR Merge" -p "Master Match"=$Master CR #$
-p "Comment Log" = $Comment Log$ -p "Description" = $Description$ -p
"Justification" = $Justification$
-p "Master" = $Master CR #$ -p "Last Merged" = $CR #$
My "Master Match" finds ticket (b) based on entry-ID (so I know there will
only be one match). All the other parameters should get copied from ticket
(a).
As the administrator, I have access to all fields on the schema. I know
that filters run with admin permissions, but does the user tool get started
with a specific logon/password? If so, which one?
Help!
ARS 3.0.1
Solaris 2.5
Oracle 7.1.3
Clients: winnt 4.0
Susan Binette-Blair
INVESCO-Denver
|
|
Top
|
|
|
|
|
#516 - 01/12/99 09:35 PM
Re: Run Process - macro
[Re: Anonymous]
|
Anonymous
Unregistered
|
Susan:
The last suggestions I have is to launch the user tool on the host (send the
display to a different terminal if the host doesn't have an X-terminal),
turn on macro logging, and run the macro, passing the parameters manually.
Sometimes we've been able to spot quirks in the user tool between unix &
windows this way.
Also, the unix user tool sends screen output to the terminal session that
started the arsystem. So you could stop & start the system, leave that
terminal session open, then fire off the workflow -- you'll see a couple of
lines of output on terminal from the aruser (plus any error messages being
returned).
FWIW,
--Phil
-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:ARSLIST@listserv.acsu.buffalo.edu]On Behalf Of Binette-Blair,
Susan
Sent: Tuesday, January 12, 1999 21:02
To: ARSLIST@listserv.acsu.buffalo.edu
Subject: Re: Run Process - macro
I have added the double quotes as Phil suggested, and NOTHING seemed to
change.
I am NOT exporting the ARHOME variable. Why should I have to if it is
explicitly stated in the run process command? And if I have to, at what
point would that be done - as another run process command?
Lastly, I have also added the full path name of the "aruser" exe, just in
case it didn't know where to go.
Thanks -
Susan Binette-Blair
-----Original Message-----
From: Cornett, Manotee J. [mailto:manotee.cornett@TELDTA.COM]
Sent: Tuesday, January 12, 1999 1:55 PM
To: ARSLIST@LISTSERV.ACSU.BUFFALO.EDU
Subject: Re: Run Process - macro
Also, are you exporting ARHOME?
> ----------
> From: Phil Murnane[SMTP:philip.murnane@SSDS.COM]
> Sent: 1/12/1999 2:38 PM
> To: ARSLIST@LISTSERV.ACSU.BUFFALO.EDU
> Subject: Re: Run Process - macro
>
> Susan:
>
> Try putting double-quotes around the substituted fields. Eg,
>
> aruser -d /opt/apps/ar/arcmds -e "CR Merge" -p "Master Match"="$Master CR
> #$"
> -p "Comment Log" = "$Comment Log$" -p "Description" = "$Description$" -p
> "Justification" = "$Justification$" -p "Master" = "$Master CR #$" -p "Last
> Merged" = "$CR #$"
>
> You may also have to add workflow to make sure there are no single- or
> double-quotes in any of the field values because unix may get confused if
> it
> sees something like
>
> ... -p "$Description$" -p "Can you say, "confusing?"" ...
>
> after expanding the field into its value.
>
> HTH,
> --Phil
>
>
> -----Original Message-----
> From: Action Request System discussion list(ARSList)
> [mailto:ARSLIST@listserv.acsu.buffalo.edu]On Behalf Of Binette-Blair,
> Susan
> Sent: Tuesday, January 12, 1999 19:57
> To: ARSLIST@listserv.acsu.buffalo.edu
> Subject: Run Process - macro
>
>
> Hi . . .
>
> Sorry if this has been covered before!
>
> I am attempting to merge one ticket (a) to another existing ticket (b)
> within the same schema. Diary fields are included. I have recorded a
> macro
> which performs a modify all on ticket (b). My macro is run from a run
> process within a filter triggered by a specific user action on ticket (a).
> According to the filter log and SQL log, everything looks just nifty.
> However, ticket (b) is not getting updated in any way.
>
> My run process command is as follows:
>
> aruser -d /opt/apps/ar/arcmds -e "CR Merge" -p "Master Match"=$Master CR
> #$
> -p "Comment Log" = $Comment Log$ -p "Description" = $Description$ -p
> "Justification" = $Justification$
> -p "Master" = $Master CR #$ -p "Last Merged" = $CR #$
>
> My "Master Match" finds ticket (b) based on entry-ID (so I know there will
> only be one match). All the other parameters should get copied from
> ticket
> (a).
>
> As the administrator, I have access to all fields on the schema. I know
> that filters run with admin permissions, but does the user tool get
> started
> with a specific logon/password? If so, which one?
>
> Help!
>
> ARS 3.0.1
> Solaris 2.5
> Oracle 7.1.3
> Clients: winnt 4.0
>
> Susan Binette-Blair
> INVESCO-Denver
>
|
|
Top
|
|
|
|
|
#517 - 01/12/99 11:04 PM
Re: Run Process - macro
[Re: Anonymous]
|
Anonymous
Unregistered
|
Hi Susan
Does your macro include a username and password? Record the macro aand make
the first action to login as an administrator.
HTH
David Sanders
==========================================
Westover Consulting Ltd
Tel: 01494 474374
Email: sandersd@globalnet.co.uk
-----Original Message-----
From: Binette-Blair, Susan
To: ARSLIST@LISTSERV.ACSU.BUFFALO.EDU
Date: 12 January 1999 21:06
Subject: Re: Run Process - macro
>I have added the double quotes as Phil suggested, and NOTHING seemed to
>change.
>
>I am NOT exporting the ARHOME variable. Why should I have to if it is
>explicitly stated in the run process command? And if I have to, at what
>point would that be done - as another run process command?
>
>Lastly, I have also added the full path name of the "aruser" exe, just in
>case it didn't know where to go.
>
>Thanks -
>
>Susan Binette-Blair
>-----Original Message-----
>From: Cornett, Manotee J. [mailto:manotee.cornett@TELDTA.COM]
>Sent: Tuesday, January 12, 1999 1:55 PM
>To: ARSLIST@LISTSERV.ACSU.BUFFALO.EDU
>Subject: Re: Run Process - macro
>
>
>Also, are you exporting ARHOME?
>
>> ----------
>> From: Phil Murnane[SMTP:philip.murnane@SSDS.COM]
>> Sent: 1/12/1999 2:38 PM
>> To: ARSLIST@LISTSERV.ACSU.BUFFALO.EDU
>> Subject: Re: Run Process - macro
>>
>> Susan:
>>
>> Try putting double-quotes around the substituted fields. Eg,
>>
>> aruser -d /opt/apps/ar/arcmds -e "CR Merge" -p "Master Match"="$Master CR
>> #$"
>> -p "Comment Log" = "$Comment Log$" -p "Description" = "$Description$" -p
>> "Justification" = "$Justification$" -p "Master" = "$Master CR #$" -p
"Last
>> Merged" = "$CR #$"
>>
>> You may also have to add workflow to make sure there are no single- or
>> double-quotes in any of the field values because unix may get confused if
>> it
>> sees something like
>>
>> ... -p "$Description$" -p "Can you say, "confusing?"" ...
>>
>> after expanding the field into its value.
>>
>> HTH,
>> --Phil
>>
>>
>> -----Original Message-----
>> From: Action Request System discussion list(ARSList)
>> [mailto:ARSLIST@listserv.acsu.buffalo.edu]On Behalf Of Binette-Blair,
>> Susan
>> Sent: Tuesday, January 12, 1999 19:57
>> To: ARSLIST@listserv.acsu.buffalo.edu
>> Subject: Run Process - macro
>>
>>
>> Hi . . .
>>
>> Sorry if this has been covered before!
>>
>> I am attempting to merge one ticket (a) to another existing ticket (b)
>> within the same schema. Diary fields are included. I have recorded a
>> macro
>> which performs a modify all on ticket (b). My macro is run from a run
>> process within a filter triggered by a specific user action on ticket
(a).
>> According to the filter log and SQL log, everything looks just nifty.
>> However, ticket (b) is not getting updated in any way.
>>
>> My run process command is as follows:
>>
>> aruser -d /opt/apps/ar/arcmds -e "CR Merge" -p "Master Match"=$Master CR
>> #$
>> -p "Comment Log" = $Comment Log$ -p "Description" = $Description$ -p
>> "Justification" = $Justification$
>> -p "Master" = $Master CR #$ -p "Last Merged" = $CR #$
>>
>> My "Master Match" finds ticket (b) based on entry-ID (so I know there
will
>> only be one match). All the other parameters should get copied from
>> ticket
>> (a).
>>
>> As the administrator, I have access to all fields on the schema. I know
>> that filters run with admin permissions, but does the user tool get
>> started
>> with a specific logon/password? If so, which one?
>>
>> Help!
>>
>> ARS 3.0.1
>> Solaris 2.5
>> Oracle 7.1.3
>> Clients: winnt 4.0
>>
>> Susan Binette-Blair
>> INVESCO-Denver
>>
>
|
|
Top
|
|
|
|
|
#518 - 01/13/99 08:38 AM
Re: Run Process - macro
[Re: Anonymous]
|
Anonymous
Unregistered
|
Try taking the spaces out of your command line. Also, the use of " in
UNIX gets tricky. I'd try changing your qualification to tell the UNIX
OS to disregard the quotes by putting a \ in front of every place a
quote is used.
You may also want to try the setAnyfieldQual utility that i believe is
available from the contributed library. it allows you to set the values
of a field based on a qualification that you pass at the command line.
Again, though, you'll need to use the \ in front of some of your
characters like the " and $ marks.
>aruser -d /opt/apps/ar/arcmds -e "CR Merge" -p\"Master Match\"=\"$Master CR
#$\" -p\"Comment Log\"=\"$Comment Log$\"
-p\"Description\"=\"$Description$\"
-p\"Justification\"=\"$Justification$\" -p\"Master\"=\"$Master CR #$\"
>-p\"Last Merged\"=\"$CR #$\"
I've not had a chance to try this, just a suggestion. Try the use of \,
if that doesn't work, remove the spaces between your -p[field]=[value]
and give that a go.
Sean
Sean Christensen
Technical Specialist & Remedy Team Leader
Customer Service Support - IT
Franklins Limited
desk - (02) 9722.1640
mobile - 0412.029.054
email - christensens@franklins.com.au
"Let your Yes be Yes and No be No in all you do"
>----------
>From: Binette-Blair, Susan[SMTP:Susan_Binette-Blair@DEN.INVESCO.COM]
>Sent: 13/01/1999 8:02
>To: ARSLIST@LISTSERV.ACSU.BUFFALO.EDU
>Subject: Re: Run Process - macro
>
>I have added the double quotes as Phil suggested, and NOTHING seemed to
>change.
>
>I am NOT exporting the ARHOME variable. Why should I have to if it is
>explicitly stated in the run process command? And if I have to, at what
>point would that be done - as another run process command?
>
>Lastly, I have also added the full path name of the "aruser" exe, just in
>case it didn't know where to go.
>
>Thanks -
>
>Susan Binette-Blair
>-----Original Message-----
>From: Cornett, Manotee J. [mailto:manotee.cornett@TELDTA.COM]
>Sent: Tuesday, January 12, 1999 1:55 PM
>To: ARSLIST@LISTSERV.ACSU.BUFFALO.EDU
>Subject: Re: Run Process - macro
>
>
>Also, are you exporting ARHOME?
>
>> ----------
>> From: Phil Murnane[SMTP:philip.murnane@SSDS.COM]
>> Sent: 1/12/1999 2:38 PM
>> To: ARSLIST@LISTSERV.ACSU.BUFFALO.EDU
>> Subject: Re: Run Process - macro
>>
>> Susan:
>>
>> Try putting double-quotes around the substituted fields. Eg,
>>
>> aruser -d /opt/apps/ar/arcmds -e "CR Merge" -p "Master Match"="$Master CR
>> #$"
>> -p "Comment Log" = "$Comment Log$" -p "Description" = "$Description$" -p
>> "Justification" = "$Justification$" -p "Master" = "$Master CR #$" -p "Last
>> Merged" = "$CR #$"
>>
>> You may also have to add workflow to make sure there are no single- or
>> double-quotes in any of the field values because unix may get confused if
>> it
>> sees something like
>>
>> ... -p "$Description$" -p "Can you say, "confusing?"" ...
>>
>> after expanding the field into its value.
>>
>> HTH,
>> --Phil
>>
>>
>> -----Original Message-----
>> From: Action Request System discussion list(ARSList)
>> [mailto:ARSLIST@listserv.acsu.buffalo.edu]On Behalf Of Binette-Blair,
>> Susan
>> Sent: Tuesday, January 12, 1999 19:57
>> To: ARSLIST@listserv.acsu.buffalo.edu
>> Subject: Run Process - macro
>>
>>
>> Hi . . .
>>
>> Sorry if this has been covered before!
>>
>> I am attempting to merge one ticket (a) to another existing ticket (b)
>> within the same schema. Diary fields are included. I have recorded a
>> macro
>> which performs a modify all on ticket (b). My macro is run from a run
>> process within a filter triggered by a specific user action on ticket (a).
>> According to the filter log and SQL log, everything looks just nifty.
>> However, ticket (b) is not getting updated in any way.
>>
>> My run process command is as follows:
>>
>> aruser -d /opt/apps/ar/arcmds -e "CR Merge" -p "Master Match"=$Master CR
>> #$
>> -p "Comment Log" = $Comment Log$ -p "Description" = $Description$ -p
>> "Justification" = $Justification$
>> -p "Master" = $Master CR #$ -p "Last Merged" = $CR #$
>>
>> My "Master Match" finds ticket (b) based on entry-ID (so I know there will
>> only be one match). All the other parameters should get copied from
>> ticket
>> (a).
>>
>> As the administrator, I have access to all fields on the schema. I know
>> that filters run with admin permissions, but does the user tool get
>> started
>> with a specific logon/password? If so, which one?
>>
>> Help!
>>
>> ARS 3.0.1
>> Solaris 2.5
>> Oracle 7.1.3
>> Clients: winnt 4.0
>>
>> Susan Binette-Blair
>> INVESCO-Denver
>>
>
|
|
Top
|
|
|
|
|
#519 - 01/13/99 09:03 AM
Re: Run Process - macro
[Re: Anonymous]
|
Anonymous
Unregistered
|
Your macro is recorded as a specific user. If you don't record the
login process, I reccomend you don't, then the aruser that is started up
looks in your config file on the server that is in the ARHOME directory
if your admin useraccount is not in that file, your macro will fail. I
recommend that you record the login process into your macro and then
manually edit the macro to put variables where the login and password
values are. Even though the password is encrypted (make sure to leave
in the control character), if you change it to a variable in the macro
and then pass the macro the password of your admin user, it will accept
it.
Hope this helps.
Sean
Sean Christensen
Technical Specialist & Remedy Team Leader
Customer Service Support - IT
Franklins Limited
desk - (02) 9722.1640
mobile - 0412.029.054
email - christensens@franklins.com.au
"Let your Yes be Yes and No be No in all you do"
>----------
>From: Binette-Blair, Susan[SMTP:Susan_Binette-Blair@DEN.INVESCO.COM]
>Sent: 13/01/1999 6:57
>To: ARSLIST@LISTSERV.ACSU.BUFFALO.EDU
>Subject: Run Process - macro
>
>Hi . . .
>
>Sorry if this has been covered before!
>
>I am attempting to merge one ticket (a) to another existing ticket (b)
>within the same schema. Diary fields are included. I have recorded a macro
>which performs a modify all on ticket (b). My macro is run from a run
>process within a filter triggered by a specific user action on ticket (a).
>According to the filter log and SQL log, everything looks just nifty.
>However, ticket (b) is not getting updated in any way.
>
>My run process command is as follows:
>
>aruser -d /opt/apps/ar/arcmds -e "CR Merge" -p "Master Match"=$Master CR #$
>-p "Comment Log" = $Comment Log$ -p "Description" = $Description$ -p
>"Justification" = $Justification$
>-p "Master" = $Master CR #$ -p "Last Merged" = $CR #$
>
>My "Master Match" finds ticket (b) based on entry-ID (so I know there will
>only be one match). All the other parameters should get copied from ticket
>(a).
>
>As the administrator, I have access to all fields on the schema. I know
>that filters run with admin permissions, but does the user tool get started
>with a specific logon/password? If so, which one?
>
>Help!
>
>ARS 3.0.1
>Solaris 2.5
>Oracle 7.1.3
>Clients: winnt 4.0
>
>Susan Binette-Blair
>INVESCO-Denver
>
|
|
Top
|
|
|
|
|
|
|