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

Re: 'IS' checked on Time Windows

$
0
0

Hello Cindy,

 

If you set the 'Is Calendar' box, the time window calculation is much quicker as it only expects full days (from midnight to midnight).

If you need the time window to be open between specific times during the day (ie from 9:00-17:00), you cannot set this option as the time window is not open the whole day.

 

Regards Gerben


Re: How can you get the schedule of a single reoccurring job with Restart ability in Redwood to pause when it has failed...?

$
0
0

Hello Fran,

 

You can wrap the job chain in a master job chain in the first step and set the final status handler there.

You can also set the Restart Behavior to 'Stop Submit Frame', in that case you will have to resubmit the job once you are finished troubleshooting.

 

Regards Gerben

Re: 'IS' checked on Time Windows

REL =waitEvents.. Jobname?

$
0
0


Hello,

 

how can I get the jobname of a job which raised an event with REL?

 

The jobId I can get with =waitEvents.<Event>.raiserJobId.

 

At the moment I extract the jobname from "waitEvents.<Event>.raiserComment" with "substring" and "indexOf", but I hope there could be a better possibility.

 

 

Thanks and best regards

Dana

Re: System_Mail_Send - Get user email address

$
0
0

Hi Andre,

 

Actually, I had no time to test what I wrote earlier ... the code below should work in a library source:

 

// Example code to illustrate

package masalan;

 

import com.redwood.scheduler.api.model.SchedulerSession;
import com.redwood.scheduler.api.model.enumeration.SubjectType;

import com.redwood.scheduler.api.scripting.variables.*;

 

public class user

{

public static String getEmail(String str1)

  {

  if (str1 == null ) return "null";

  SchedulerSession jcsSession = ScriptSessionFactory.getSession();

  return jcsSession.getSubjectByTypeName(SubjectType.User,  str1).getEmail();

  }

}

 

 

You create REL entry points:


  • Name - getEmail
  • FQ Class Name - masalan.user
  • Method Signature - getEmail(String)


 

Now, create a parameter Username on the job chain.

 

Parameter To should have  the value =Custom.getEmail(chainParameters.Username)

 

You specify the username in the Username parameter, the email address will be retrieved from CPS. The user must have logged on to CPS at least once, alternatively, you can import the user.

 

Note that to import the user, you must assign at the very least the AccessScheduler action in UME.

 

Regards,

 

HP

 

Message was edited by: h. Carpenter - missed an import and add SchedulerSession

SAP/Redwood Capacity

$
0
0

Good Day Everyone,

 

I have tried in vain to see if there is a capacity limit to how many jobs a single Redwood server can handle in a given 24 hour period  Seeing that Redwood has a server/client relationship, I would imagine the number could be high but I was wondering if there is any documentation that states so.  We here typically blast out 17, 000 jobs a day on a single server instance but we are starting to run into performance nuances  so the first question asked to me was can Redwood handle this many jobs.  I'm curious, how much work do other shops produce?  Your responses are greatly appreciated.

Re: SAP/Redwood Capacity

$
0
0

Hi Greg,

Sizing guide is a good starting point.

From the sizing guide:

To manage a base line workload of 100k jobs per day, with 10 million jobs retained in the history data, more than 95% of jobs producing average log file size of 16k and no large output files

 

  1. CPU: 2 x 2.0Ghz Intel processors (or equivalent)
  2. Memory: 4GB
  3. Disk storage: 600-800GB

 

 

Thanks

Nanda

Re: SAP/Redwood Capacity

$
0
0

That answer was perfect Nanda - THANK YOU! 


Re: REL =waitEvents.. Jobname?

$
0
0

Hi Dana,

 

You can see the REL functions in http://<server>:<port>/scheduler/help/model/rel_functions.html

 

Look, the example for Query.getString() retrieves the jobname:

 

=Query.getString("select Job.Description from Job where Job.JobId = ? ", waitEvents.<Event>.raiserJobId)

 

Regards,

 

HP

Start CPS with the queues held?

$
0
0

Let´s say that for some reason the CPS system is down and I want to prevent jobs from being submitted upon start. Is there any way to start CPS in a mode that hold the queues, which normally starts along with CPS?

Re: REL =waitEvents.. Jobname?

$
0
0

Hello HP,

 

many thanks for your help!

The URl was saved and the Query.getString() tested. It works!

I only inserted [ ] around the bindVariables.

 

Thanks and best regards!

Dana

Re: Start CPS with the queues held?

$
0
0

Hi Jonas,

 

Yes, I think it's s/b in queue setting with Include jobs in status should be Console (check box checked).

 

Regards,

Abhishek

Re: Start CPS with the queues held?

$
0
0

Hello Jonas,

 

Auto holding the queues is not possible. You can prevent the process servers to start automatically on startup though by unchecking the Start On Startup flag on the process servers.

 

Regards Gerben

Re: Start CPS with the queues held?

$
0
0

Thanks Gerben, that might be a solution for our concerns here.

 

Kind regards,

Jonas

Re: Start CPS with the queues held?

$
0
0

Hi Jonas.

 

I think if you have two options if your first run with chains or Jobs Windows can cancel the time and after the restoration process server reprogramagain and the second option is that the Jobs or put them in chains held, and thus can start when you decide.


Re: SAP/Redwood Capacity

$
0
0

Hi Greg,

 

Good to read that you liked Nanda's answer, please mark the question as answered. Otherwise other users like myself think it has not been answered.

 

As to your performance issues, maybe you could create a new thread for those. Important things we would need to know is, what the symptoms are (high memory usage, out of memory exceptions, high cpu usage, network saturation, slow user interface...). If you witness high memory or CPU usage, how much RAM Do you have, what are your JVM parameters. What other applications are running in the NetWeaver instance?

 

How many process servers do you have, how many of them are platform process servers ?

 

Do you have triggers?

 

Regards,

 

HP

Error when defining Solman connection

$
0
0

Dear Gurus.

When defining connection to Solman, the following error message appears:

000226-mRemoteNG - confCons.xml.png

The full log attached.

Please advice!

Regards

Vladimir

Re: Error when defining Solman connection

$
0
0

Hi Vladimir,

 

Yes, I failed to get that to work as well (I contacted Support, it is a known issue). Please see this document for setting up the Solution Manager connection: http://support.sap.com/content/dam/library/support/support-programs-services/Solution%20Manager/Business%20Process%20Ope…

 

You can also read SAP note 1265635, I like the previously mentioned PDF because it has screen captures.

 

As a further read, once all is set up, I recommend what Martin Lauer wrote up in a nice blog entry on the subject Solution Manager: Monitoring SAP CPS by Redwood jobs with SAP Solution Manager.

 

Regards,

 

HP

Import Existing jobs into cps redwood ?

$
0
0

Hi All,

 

We have configured CPS redwood and able to schedule jobs successfully, but how can we import existing jobs in backend system to cps redwood.

 

Regards,

Videesh

Re: Import Existing jobs into cps redwood ?

Viewing all 2607 articles
Browse latest View live


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