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

Re: call PowerShell script from CPS

$
0
0

Hello,

 

Go to Environment -> Process Servers, Add Process Server. Follow the wizard to setup a Windows Process Server and install the downloaded agent file on the required target server.

 

Now go to Definitions->Job Definitions, Add Job Definition, Manual Setup and select script type PS1. Now you can put your PowerShell code in here and run the job on your new Process Server.

 

Regards Gerben


Re: BW job terminated in SAP BW but still running in SAP BPA

$
0
0

Hello Clement,

 

Does it work after the next schedule? One of the processes is missing the most important parameter NAME, which should contain the Process Chain name to start. Is something started in BW? Are you using meta chains in BW?

 

Regards Gerben

Re: Getting data from Job Definition

$
0
0

Thanks Gerben,

 

Once we delete history from job table can we use the above query to identify the jobs which were defined but not scheduled/ran not even once?

Re: Getting data from Job Definition

$
0
0

Hi Vishnu,

 

First of all, it is a good idea anyway to cleanup the job table.

Second, it is more likely you get a result in a timely fashion.

 

Third, you can probably do a better job by changing the query:

select jd.* from JobDefinition jd where jd.BranchedLLPVersion = -1 and not exists (select 1 from Job j, JobDefinition jdj where j.JobDefinition = jdj.UniqueId and jdj.MasterJobDefinition = jd.UniqueId)

 

Regards Gerben

Re: Jobs hanging in running status

$
0
0

Hello Gerben,

 

Whenever we face this issue, 'CMD' job is hanging for hours in the running state with the above operator message and due to this subsequent jobs are getting delayed. Our management is not willing to upgrade to V9 at this moment. Is there any other way this issue can be resolved?.

 

Thank you in advance.

 

 

Regards,

Chandu

Re: How to schedule jobs in CPS with time intervals

$
0
0

Hi Angelo, You may also use the system_sleep job definition for this. just put the delay time as it's in milliseconds .Like in Step 1 you have your job and in step 2 use this System_sleep job definition . Manisha

Re: Getting data from Job Definition

Re: How to schedule jobs in CPS with time intervals

$
0
0

System_Sleep definition can be used here however the jobs needs to be defined step by step.


Re: How to schedule jobs in CPS with time intervals

$
0
0


Hi,

 

Thanks for the info. However, I am getting the error message below when submitting the chain with Sleep_Time.

 

JCS-102064: Job 903654 (submitted from System_Sleep copy from 2014/11/14
00:33:34,425 Asia/Dubai) is global but refers (via Job) to an object in an
isolation group

 

JCS-102064: Job 903654 (submitted from System_Sleep copy from 2014/11/14
00:33:34,425 Asia/Dubai) is global but refers (via Chain Step) to an object in
an isolation group

 

JCS-102064: Job 903654 (submitted from System_Sleep copy from 2014/11/14
00:33:34,425 Asia/Dubai) is global but refers (via Parent Job) to an object in
an isolation group

 

 

Clarification: Should each job be defined as a step? Say I have 3 jobs in a chain. Should I have 3 steps with one job each?

 

Thanks in advance.

Redwood - How to send text via e-mail

$
0
0

Hi All,

I have created a new Process (type Mail) with the following "Source"

 

 

[Headers]

reply-to=${Mail_To}

subject="Test E-Mail"

[Body]

Content-Type=text/html; Charset=UTF-8

 

 

When I "Submit" the process I receive the mail but without body text.

 

I have tried to add a text in these positions but without success.

 

 

[Body]

<Text added>  <-------------------------- first attempt

Content-Type=text/html; Charset=UTF-8

<Text added>  <-------------------------- second attempt

 

 

 

Then I have observed that in case of error I don't receive the mail but I can't find a log to understand the error.

 

Thanks in advance for your kind support.

 

Regards,

 

    Giovanni

Re: Redwood - How to send text via e-mail

$
0
0

Hi,

 

Everything BEFORE the first [] section is considered as the mail body.

 

So just:

 

<text>

 

[Headers]

....

 

 

Regards Gerben

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

$
0
0

Hi :

           I am getting the following error(screen shot attached) "404 Not Found"  Error: Cannot define forward location.

 

Error occurs on our new version of Sap cps version M33.116-80989.

 

This error never occurred on the old sap cps version M33.85-65736

 

I get the redwood logon screen, but after entering the userid and password I get this error.

 

Can anyone help on this ?

 

Patrick Donnelly

patrick.donnelly@agr.gc.ca

Re: How to schedule jobs in CPS with time intervals

$
0
0

Hello Angelo,

 

I am bit confused here with exact requirement. If we going to defined the jobs as steps, the above scenario won't work as required. Because the jobchain will not move to next step until the predecessor step gets completed.

 

 

Can you try the below design:

 

  • Create a JobChainA
  • Add a single Step1
  • Under Step1 you need to add three parallel steps out of which one is JobA and two other are SubJobChain1 and SubJobChain2 each consists of two Steps.

               Step1: System_Sleep (),

               Step 2: JobB/JobC.

 

 

JobChainA

Step1:

JobA

SubJobChain1

Step1:

System_Sleep(180000 MilliSeconds)

Step2:

JobB

SubJobChain2

Step1:

System_Sleep(480000 MilliSeconds)

Step2:

JobC

 

And the above error message related to Isolation Group might be because of the free version you are using.

 

HTH.

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

$
0
0

Hello Patrick,

 

I believe that you have applied the latest patch on the existing one. Please check the Release Notes for that Patch which may help you with the issue. Also, you can refer the Product Availability Matrix for the version of SAP CPS you using, so that you will understand if the version of Chrome you are using is compatible or not.

 

Rgds

How to set a Chain in "completed" status when a step is in error status.

$
0
0

Hi All,

how is it possible to set a Chain in "completed" status if the chain is stopped because a step is in error status.

 

More exactly I want to avoid to execute all steps and "reset" the status of the Chain as "Completed", if this is possible.

 

I'm using Redwood 9.0.13.1

 

Any help will be greatly appreciated.

 

Thanks in advance for your kind support.

 

Regards,

 

   Giovanni


How to send a text with muliple lines via e-mail

$
0
0

Hi All,

I have been trying to send a text with multiple lines in this way

 

This is the first line <CR>

This is the second line

[Headers]

 

I have used as carriage return <CR>, <BR>, /n but without success.

 

Any idea?

 

Thanks in advance for your kind support.

 

Regards,

 

    Giovanni



Re: How to set a Chain in "completed" status when a step is in error status.

$
0
0

Hello,

 

Add a final status handler, GoTo end of chain on status Error.

 

Regards Gerben

Re: How to set a Chain in "completed" status when a step is in error status.

$
0
0

Hello Giovanni,

 

As suggested by Gerben, this can be achieved using the Status Handlers on Steps under the chain.

 

If you choose the Status Handler "On Error" /"On Killed" move to next Step, then even if step1 fails the chain will move to Step2 and so on. Though the Step1 status is error. The main jobchain status would be completed.

 

HTH.

Re: How to set a Chain in "completed" status when a step is in error status.

$
0
0

Hello Gerben and HTH,

Thank You for your quick reply and support.

 

I'm trying to find the point where I must choose the Status Handler "On Error" /"On Killed. In this picture, for example, I have a step in error if right click on this step I have a list of commands I don't find this option. Maybe this is not the correct point.

 

 

Can you give me more details?

 

 

 

Thank in advance for your kind support.

 

 

 

Regards,

 

 

     Giovanni

Re: How to schedule jobs in CPS with time intervals

$
0
0

Hi Niranjan,

 

Does the free version allow a step to be added in a step?

 

I only get "add job" option in a step. I don't know how I can achieve what you just illustrated.

 

Tnx

Angelo

Viewing all 2607 articles
Browse latest View live


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