Quantcast
Channel: SCN: Message List - SAP Business Process Automation by Redwood
Viewing all 2607 articles
Browse latest View live

Re: error for email notification job

$
0
0

Hi Mikael,

 

 

Actually, looking at the previous two, these were different issues ...

 

I think Chris Wong had not set the parameter 'runtime', so his problem was then fixed - I can only assume so, because he did not come back :-(.

 

 

Hariharan Palanisamy had a problem where he was trying to access the event info from the job definition, not the chain. If you put a WaitEvent on the chain, then I think you need to reference the

wait event in the parameter mapping (chain editor), not as default value on the job definition/process definition that the chain calls. That is what I think was going on, here ... not sure, though.

 

 

 

What is your precise problem, you might want to open a new thread on the subject ... it is better than hijacking threads like this, we have had two different (but similar) issues here already ;-).

 

What would help is a few screenshots and the full error stack ... make a small test case where you reproduce the problem, try to keep it as simple as possible, and use non-identifiable values (no company/customer details).

 

 

Best regards,

 

HP

 

Message was edited by: h. Carpenter "It works for me, but then again, I am lucky!"


Re: Mail Alert for Cancelling, Killing, Post Running Status without Alerting Module

$
0
0

You can play with the runtime limits to achieve the same.

I have tried different alternatives like this, however in my opinion, alerting module is the most efficient way.

Re: Expression to find job definition name

$
0
0

Hi All,

 

Can any one please help me on this one. Am I doing some thing wrong. I have created few job definitions with the above program and the file name, but when I tried to search with the above combinations, it is not displaying anything.

 

Regards,

Tinku

Re: How to schedule the Powershell script in Redwood?

$
0
0

Thank HP...

I have a couple of questions,

1. Is there any setting to be enabled in the Redwood server end?

2. Else we need to enable in windows platform is enough ?

Please clarify me...

Thansk in Advance....

Re: How to schedule the Powershell script in Redwood?

$
0
0

Thank HP...

I have a couple of questions,

1. Is there any setting to be enabled in the Redwood server end?

2. Else we need to enable in windows platform is enough ?

Please clarify me...

Thansk in Advance....

selecting top 100 rows in query

$
0
0

Hi All,

 

I got stuck in writing query to fetch 100 records at a time.

Here is what I have tried.

 

select JobDefinition.* from JobDefinition LIMIT 100

 

 

select Top 100 JobDefinition.* from JobDefinition

 

 

select JobDefinition.* from JobDefinition FETCH FIRST 100 ROWS ONLY

 

All the above queries ended with sql exception.

Any pointers are really helpful.

Re: How to schedule the Powershell script in Redwood?

$
0
0

I am able to execute the Powershell Code as .bat file and .ps1 file in Server end.

So the problem might be in Redwood server.

Could you please guide me if anything else have to enabled in Redwood?

Re: How to setup a chain where a job has 2 dependencies

$
0
0

Hello,

 

In Redwood we always read left to right. So A and B start at the same time (or with a delay like described below), after B is finished C will run (all still in parallel with A), now when both A and C are finished D will run.

 

chain.png

 

Regards Gerben


Re: error for email notification job

$
0
0

Thanks for your answer HP.

I have the same issue as Chris, I try to use the chain parameter =waitEvents.<event name>.raiserComment and yes my parameter is also set to Display but I'm not able to find where to change to runtime in BPA version 9.0.15.1

 

chain parameter.PNG

Re: error for email notification job

$
0
0

Hi Mikael,

 

In 9.0.15, go to "Definitions > Processes" (for process definitions) or "Definitions > Chains" (for chains), select "edit" from the context menu of "Monitoring_Batch_Runtime_FABD". On the "Parameters" tab, locate and select the parameter "ZJOB_NAME", in the lower pane, right at the end, you have the "Parameter Options" field, there you have "Runtime".

 

Note that it is not necessary for the parameter to be Display, it "has to" be Runtime, though.

 

Regards,

 

HP

 

 

Untitled.png

 

Message was edited by: h. Carpenter Added instructions for chains, as I noticed you mentioned chain parameter. Basically, you just edit the chain or process definition, on the parameters tab, you have the all the parameter properties.

Re: How to schedule the Powershell script in Redwood?

$
0
0

Hi Anandhi,

 

Open C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe


(It is VERY important you open that exact file, no other powershell.exe)


then try to source your ps1 script:


Windows PowerShell

Copyright (C) 2014 Microsoft Corporation. All rights reserved.

 

PS C:\Users\jdoe>. c:\myscript.ps1


I think this will fail with the same error or the platform agent has a bug.


Regards,


HP

Re: New version of sap cps Redwood doesn't work using Chrome browser.

SAP BPA 9.0 and Oracle connectivity

$
0
0

I want to make a connection to a ORACLE DB and use a ProcessDefinition with Type SQLPLUS.

This Process Definition has following Parameters:

JCS_REMOTE_USER

JCS_REMOTE_PASSWORD

JCS_REMOTE_ENDPOINT

 

But unfortunately I get allways following error message:

SP2-0306: Invalid option. Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM}] [edition=value]] where ::= [/][@]       ::= [][/][@] SP2-0306: Invalid option. Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM}] [edition=value]] where ::= [/][@]       ::= [][/][@] SP2-0306: Invalid option. Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM}] [edition=value]] where ::= [/][@]       ::= [][/][@] SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus

 

This script is running with Ran As User

This user has set the ORACLE Environment and this one can also be seen in the script with command env.

In the other case I will get a different error message.

I was also trying to use Remote Run As User without the parameter but with the same result.

On OS level the user can connect to the database.

Any idea what is wrong in my situation?

Re: error for email notification job

$
0
0

Thanks for the education! I use the parameter in a chain to fetch the job name where the max runtime event was triggered from. Now I only see the job id and not the name.

 

Maximum runtime limit Maximum of 0:00:01.000 for process 3859889 reached. Raised event for process 3859889.

 

I'm sure I have been able to add the job name to the text before.

Re: SAP BPA 9.0 and Oracle connectivity

$
0
0

If you are not using both the RunAsUser AND RemoteRunAsUser, only use the RunAsUser for remote login.

 

Regards Gerben


Re: SAP BPA 9.0 and Oracle connectivity

$
0
0

Hi Gerben,

 

I'm using only the RunAs User and the mentioned parameters.

 

I was also tying to use a script without parameters and in this case I was using both values

RunAs User and RemotRunAsUser. In this case the connection parameters was set to RemoteRunAsUser.

 

But I need the RunAsUser to get out the Oracle value for the DB connection.

 

With best regards

Alfred

Need to back up sap cps redwood production jobs....

$
0
0

Hi all:

            When we were upgrading our development sap cps redwood system our basis team had to delete all of our development jobs to accomplish the upgrade. We were able to copy over our production jobs to the development box which helped, but also caused problems for us...

Next we are going to be upgrading the production box, and we don't want to lose our jobs, events, and definitions that we have developed.

I know that exporting and re-importing the jobs after the upgrade is a possibility, but we are talking a lot of job chains etc....

Does anyone know of a more precise way to back up our production sap cps redwood environment,  or a simpler faster way to accomplish this ???

 

Patrick Donnelly

Re: Need to back up sap cps redwood production jobs....

$
0
0

Hi Patrick,

 

I am sorry, I do not understand why you had to delete anything.

 

I also do not understand totally what you mean by "jobs", are we talking definitions (job definitions/job chains) or jobs (process that ran last Tuesday).

 

I have never seen anybody having to delete a object to perform an upgrade, well, not that I remember.

 

I think it would be better if you tried to do the upgrade of a copy of production, this time, without deleting objects. I am pretty sure it would "just work" ... well, that is the "theory", at least. If you encounter any issues you should open a ticket with SAP support.

 

Of course, it is always wise to delete dead wood prior to upgrading, but that is about it.

 

Regards,

 

HP

Re: Need to back up sap cps redwood production jobs....

$
0
0

Hi Patrick,

 

To prevent an uncontrolled release after an upgrade you can stop the Queues before you upgrade, this way you can see what has been build up and release in an orderly fashion after the upgrade.

Stopping/Cancelling jobs as part of an upgrade plan does not make sense at all.

Redwood has an upgrade service that can assist your teams if you feel uncertain.

 

Regards Gerben

How to dynamically define move directory for CPS event?

$
0
0

I want to have CPS event monitor different folders depending on which system the job in.

There is no way to use parameters like the normal batch jobs and CMD jobs.

So wondering how to achieve a dynamic move directory setup for events?

Viewing all 2607 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>