How to create automatic timer process in BPM?
Can anyone tell me how to create an automatic timer process in BPM?
Can I just create an manual process, and drag the timer event into the swam lane, can connect the timer to the service and then to the end event?
Thank you
Hi,
You can make use of Global Automatic activity to kick off your process at a particular time. Place a Global Automatic activity in your process and right click on the Global Automatic activity and select Properties --> General --> Global Automatic Type: Automatic Schedule, Automatic Schedule: <Configure with your requirement>.
Else you can make use of due transition/timer activity to get your task done.
Bibhu
Similar Messages
-
[CS3 JS] How to Create a Timer?
Within InDesign I need to be able to fire a periodic process to examine links from a JavaScript script. I have my own script running in its own engine.
I can't figure out how to create a timer that will run in the background and call the appropriate callback function periodically.
I've created a little process like this:
* Sleeps for waitTime milliseconds then calls the callBack function.
function timer(callBack, waitTime) {
$.writeln("timer(): callBack=" + callBack + ", waitTime=" + waitTime);
if (waitTime == undefined) waitTime = 2000;
$.writeln("timer(): sleeping for " + waitTime + "...");
$.sleep(waitTime);
$.writeln("timer(): awake, calling callBack");
try {
return callBack();
} catch (e) {
$.writeln("timer(): Exception from callBack.exec(): " + e);
return undefined;
function myCallBack() {
return Window.confirm("Callback called", true, "Continue looping");
while (true) {
if (!timer(myCallBack)) break;
And this works in the sense that my timer runs, but it runs as a blocking process, which is not what I want.
Is there something I'm missing or is this simply not possible in CS3 JavaScript? A search on "timer" in the InDesign forums didn't reveal anything, nor did the InDesign JavaScript Guide nor the Scripting Tools Guide.
Thanks,
Eliot1. Download and install Active Page Item Developer Toolkit.
http://www.rorohiko.com/wordpress/indesign-downloads/active-page-item-developer/
You'll have a demo period for 20 days or a month, I don't remember exactly.
2. Create a new document, open 'Active Page Item Developer' panel (Windows menu).
3. Copy the script from my previous post, draw an object - e.g. a rectangle and with the object selected enter 'idle' into Event Filter field, then press Tab and paste the script into the largest field.
You'll see an alert appearing every 10 seconds and the cursor flickering. -
How to create automatic creation of BP from customer and vendor master data
Hi gurus,
can any one tell how to create automatic creation of BP from customer and vendor master data.
Please give me the steps.
Thanks
Sasikanth.HI,
Goto SPRO\ Cross application components \ Master data synchronization \ Synchronization control.
Assign account groups of customer and vendors to respective BP grouping. This setting is enough to create BP in background while creating customer / vendor. But the fields groups are very much important, ensure mandatory fields should be sync.
rgds,
Srini -
How to create document in process chain
Hi,
can u plz tell me how to create document in process chain and wat i need to edit the text for particular info package when document.Hi Anil,
Goto Tcode:RSPC and select your load data process type where you have to right click on the process chain and select Select create message,there are three types of messages
1>Successful
2>Error
3>Always
If you already created message then go to maintain message
Where you have two buttons
1>is for Edit Document
2>Maintain Recpiants
Goto Edit Document and put your comment and set their mail address in Mail recipiants.
Note there are 2 types of messages you can kept at execution of infopackage process type.
If load is successful send the mesaage to recipients
If load is failed send the message to mail recipt.
It would help you. -
How to create a Time Dimension
Hi
This is regarding a new topic which i could not find the answer in this forum.
Actually i want to create a time dimension to populate my source data which is in date/time format.
can anyone please reply back reagrding how to create a time dimension in ODI???
regards
GourisankarHi Gourisankar,
I am not aware of time dimension. But when i searched in metalink i got the below note. I am not sure whether it will help you or not but still a small contribution. :)
The note as follows,
To create new time dimensions, run the following SQL instructions :
* Example to generate a calendar between 1999-01-01 and 2007-12-31 one row per day
SELECT to_date('1999-01-01','YYYY-MM-DD')+rownum
FROM DUAL
CONNECT BY
ROWNUM<=to_date('2007-12-31','YYYY-MM-DD')-to_date('1999-01-01','YYYY- MM-DD');
* Example for generating a calendar random number
SELECT DBMS_RANDOM.VALUE
FROM DUAL
CONNECT BY ROWNUM<=1000000;
May be you can create a VIEW out of this query ,reverse it and use that as a source in your interface.
Try this and let me know.
Thanks,
G
Edited by: Gurusank on Dec 22, 2008 4:19 PM -
How to create Short Lived process?..can neone pls help...
How to create Short Lived process?..can neone pls help...
Hi,
Login into workbench. Click on Help->Workbench start page.
Lot of helps are there you can go through them. They will be helpful.
But it seems you are new to livecycle, so it will difficult to start through help. Either you can take help of any of your team member who is expert in livecycle or some training you should attend.
Thanks -
How to create Automatic TO at MIGO
Hi Guys
How to create automatic Transfer order(WM)
I need this after creation of MIGO
Where I can see the TO number(Not TR)
What are all the config setttings for this( Triggering Auto TO)Hi
Use OMKX
Or browse through
SPRO>Logistics Execution>Warehouse Management>Interfaces>Inventory Management>Activate Automatic TO Creation
Regards
Amuthan M
Edited by: Amuthan M on Apr 22, 2009 3:12 PM -
How to create automatic serial number for ticket in illustrator?
How to create automatic serial number for ticket in illustrator?
Check this out
http://forums.adobe.com/message/1271310#1271310 -
How to create event based process chains
Hi All,
I would like to know about event based process chains. In connection to this, could you please answer the following queries,
1. How to create events
2. How to link created event to the process chain in the same BI or BW system and as well as from
externel BI system.
3. How link one process chain with other process chain (i.e, After completion of one process chain, it
should trigger other dependent process chain)
Thanks and Regards,
Kotesh.1). Doubt regarding first question.
For example, i would like to create time based event (it should be trigger daily at specified time),
where we have to maintain scheduling options while creating event.
When i checked SM62 there i found only two options a). Event name and b). Description.
Could please send any doucument link if you have.
Ans : You can use function modules like "BP_EVENT_RAISE" in a program and schedule the program to trigger.
2). For externel BIW system also same procedure we need to follow or any difference.
Ans : Externally you need to trigger the same event.
3). i found dependent process chain also had scheduling options as direct scheduling insted of start using meta chain or API. As you said dependent process chain should be mata chain. it seems dependent process chain may be Meta chain or Direct scheduilg.
Ans : Its your choice how you want to schedule it.You can either make that dependent chain a metachain or schedule it separately.
I found at the end of first process chain they kept one process like Raise event and second process chain connected with the help of raise event process event name. If you have any idea about this process could explain a bit more.
Ans : May be they are raising the event in the main chain and triggering the dependent chain using this event.
But Metachain is preferred for such thing.Though it does similar thing.
Hope this helps. -
How to kill an instance process in BPM studio 6.0
Hi i'm Fabio.
I'm working on BPM Studio 6.0 and i need to complete a task.
I have an instance id process, and i need to create a new process in order to kill this istance id.
I read how to create a PAPI client (http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/papi/index.html?t=modules/papi/c_Writing_Your_First_Java_PAPI_Program.html) but it doesn't work for my purpose.
First of all, i understood that i have to follow these step:
* Import the required libraries.
* Create a process service.
* Create a process service session.
* Perform operations with PAPI.
* Close the process service.
Now, i'm working on my xpdl file and i'm using the Standard Module "Fuego" and my plan is to create a process servcie, a process service session and then operate with PAPI.
But using the PAPI module include in the BPM studio 6.0 i'm no able to load the library for the session import fuego.papi.ProcessServiceSession;
so i'm worng something. Could you tell me how can menage this problem? Really do i need a session? Is possible to abort an istance process in BPM studio or i need to load my ear project in Enterprise environment and then kill my instance process? Thanks, regards Fabio.Thanks Dan, i read your suggestion but my boss was to implement a different solution:
package hp.abort.process;
import fuego.boot.*;
import fuego.papi.CommunicationException;
import fuego.papi.InstanceInfo;
import fuego.papi.InstanceId;
import fuego.papi.ProcessService;
import fuego.papi.ProcessServiceSession;
import fuego.papi.OperationException;
import java.util.Properties;
import javax.transaction.*;
import java.lang.Exception;
public class AbortProcess {
public static void main(String[] args) {
/////////////////// API Initialization ///////////////////
Properties configuration = new Properties();
configuration.setProperty(ProcessService.DIRECTORY_ID, "default");
configuration.setProperty(ProcessService.PROJECT_PATH, "C:/Documents and Settings/Administrator/AlbpmWorkspace/EarOMatic");
configuration.setProperty(ProcessService.WORKING_FOLDER, "C:/tmp");
try {
ProcessService processService = ProcessService.create(configuration);
/////////////////// Establish a session ///////////////////
ProcessServiceSession session = processService.createSession("adminEarOMatic", "adminEarOMatic", "localhost");
/////////////////// Operate with PAPI ///////////////////
for (String processId : session.processesGetIds()) {
System.out.println("\n Process: " + processId);
for (InstanceInfo instance : session.processGetInstances(processId) ) {
System.out.println(" -> " + instance.getId());
System.out.println("ActivityName -> " + instance.getActivityName());
System.out.println("ActivityId -> "+ instance.getActivityId());
//Problema: nn vuole ActivityId ma Process Id
session.activityAbort("/CreateEurekaSRService#Default-1.0/eomWait","/CreateEurekaSRService#Default-1.0/1/0@EarOMatic");
/////////////////// Close the session ///////////////////
session.close();
/////////////////// Release API Resources ///////////////////
processService.close();
} catch (CommunicationException e) {
System.out.println("Could not connect to Directory Service");
e.printStackTrace();
} catch (OperationException e) {
System.out.println("Could not perform the requested operation");
e.printStackTrace();
Now, i got the following exception:
Local folder C:/tmp\system\Schema-4154784351820594721\catalogs found.
Loading catalogs from local folder: C:/tmp\system\Schema-4154784351820594721\catalogs
0 jars found locally.
[CatalogMgrCache] =======================
Registering CatalogMgr [EarOMatic] ...CatalogManagerCache 10390580:
Managers:
Counters:
[CatalogMgrCache] =======================
CatalogMgr [EarOMatic] REGISTERED!CatalogManagerCache 10390580:
Managers:
{EarOMatic=fuego.util.LocalCatalogManager@106df95}
Counters:
Process: /AbortInstanceProcessService#Default-1.0
Unreachable Engine Tolerance (seconds):
by default: 0
to be used: 0
This papi client will not cache exceptions which imply that an engine could not be reached.
Changing InstanceCache Entry[processId=/AbortInstanceProcessService#Default-1.0, state=0] to 3
Changing InstanceCache Entry[processId=/AbortInstanceProcessService#Default-1.0, state=3] to 2
Process: /CreateEurekaSRService#Default-1.0
Changing InstanceCache Entry[processId=/CreateEurekaSRService#Default-1.0, state=0] to 3
Changing InstanceCache Entry[processId=/CreateEurekaSRService#Default-1.0, state=3] to 2
-> /CreateEurekaSRService#Default-1.0/1/0
ActivityName -> eomWait
Adding local catalog for project: 1
ActivityId -> /CreateEurekaSRService#Default-1.0/eomWait
Exception in thread "main" fuego.server.exception.InvalidIdRuntimeException: Invalid identification.
Detail:Invalid identification (Identification value: /CreateEurekaSRService#Default-1.0/eomWait)
at fuego.server.ActiveProcessImpl.getActivity(ActiveProcessImpl.java:632)
at fuego.server.execution.microactivity.AbstractProcessExecutionHandler.getExecutableActivity(AbstractProcessExecutionHandler.java:58)
at fuego.server.AbstractProcessBean.abortActivity(AbstractProcessBean.java:3262)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
at fuego.lang.JavaObject.invoke(JavaObject.java:227)
at fuego.component.Message.process(Message.java:587)
at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:778)
at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:753)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:248)
at fuego.component.ExecutionThread.work(ExecutionThread.java:837)
at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
at fuego.component.CustomExecution.next(CustomExecution.java:172)
at fuego.component.ExecutorClient.invoke(ExecutorClient.java:118)
at fuego.papi.impl.rmi.ProcessControlProxy.abortActivity(ProcessControlProxy.java:407)
at fuego.papi.impl.rmi.ProcessControlProxyWrapper.abortActivity(ProcessControlProxyWrapper.java:683)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at fuego.papi.impl.AbstractProcessControlHandler.invokeInternal(AbstractProcessControlHandler.java:72)
at fuego.papi.impl.rmi.RMIProcessControlHandler.invoke(RMIProcessControlHandler.java:165)
at $Proxy23.abortActivity(Unknown Source)
at fuego.papi.impl.ProcessInstanceOperation.abortActivity(ProcessInstanceOperation.java:726)
at fuego.papi.impl.ProcessServiceSessionImpl.activityAbort(ProcessServiceSessionImpl.java:184)
at hp.abort.process.AbortProcess.main(AbortProcess.java:45)
Caused by: fuego.metadata.exception.InvalidIdException: Activity '/CreateEurekaSRService#Default-1.0/eomWait' was not found in process '/CreateEurekaSRService#Default-1.0'.
at fuego.metadata.Process.getActivity(Process.java:261)
at fuego.server.ActiveProcessImpl.getActivity(ActiveProcessImpl.java:629)
at fuego.server.execution.microactivity.AbstractProcessExecutionHandler.getExecutableActivity(AbstractProcessExecutionHandler.java:58)
at fuego.server.AbstractProcessBean.abortActivity(AbstractProcessBean.java:3262)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
at fuego.lang.JavaObject.invoke(JavaObject.java:227)
at fuego.component.Message.process(Message.java:587)
at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:778)
at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:753)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:248)
at fuego.component.ExecutionThread.work(ExecutionThread.java:837)
at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
I understood that tha activity id's format is not valid, but i obtained it just using the following function: instance.getActivityId()
Are you abel to give me some suggestion? Is it good this method to kill instance?
Thanks a lot, regard Fabio. -
How to create a scheduled process
Hi all,
I'd like to create a (WLI) process that would run once
a day at 12:00 noon. Outside of WLI, I could easily use
SpringFramework/Quartz to create a scheduled task that's
equivalent to such a WLI process. But with WLI (8.1),
I've had a very hard time to create such a process.
I'd much appreciate if anyone could give a high level
steps how to do it. Thank you kindly in advance.
---Nam NguyenBishnu Kumar wrote:
Nam,
You can create a scheduled process in WLI.Here are the steps:
Create a channel file and uncomment the timerEvent section in weblogic workshop
Create a timer event generator with details like time of triggering,frequency,channel file etc in Weblogic Integration Admin Console(http://<serverName>:<ServerPort>/wliconsole.
Create a process file in workshop and select the option which subscribes to event generators.
Hope this helps you.
Regards
BishnuThank you kindly. That does indeed help.
---Nam -
Hello expertsl,
I have a new challenge on board.
I have a form that is automatically popped up. Now on the form, i need to insert a timer that as soon as it pops out, the timer starts and then i have to enter some data in the form and as soon as i press the save button, the timer records the time count and then stores it in a table.
Any suggestion are the most welcome...
Thank youAs Hoek said, this is not a Forms forum.
However, the problem is not really unique to Forms and a timer itself is not needed.
A timer is a kernel object that fires at specific intervals and each time around executes a callback routine. This allows one to update or process at specific intervals.
You do not need a timer as you are interested in time elapsed - which means that on the creation of the form you need to get the current time. When the save button is clicked you again get the current time. The data that you are interested in is the time difference between these two.
Remember that timers are expensive objects to create ito kernel resources. Some operating systems limit the total number of timers that can be created. In general, it is not a good idea to create a timer unless it is the best technical solution for the problem. And you do not need a timer determine a time elapse. You simply need code in the constructor of the form and code in the save events of the form. Nothing more. -
How to create automatically users&roles in CUA and in chlid systems?
Hi,
i have a CUA on a 2 chlid R/3 systems (test and training) and 2 portal systems (test and training).
i need to create a web application to create automatically users test and users training in CUA and see them in the R/3 chlid systems and at the same time to create autmatically a roles in CUA and R/3 chlid systems for those users (we sppose that the role is already stored in a table).
are there any standard BAPI or Funcion modules that can do this job?
is the role created automatically in CUA can be seen automaticall in the portal child system?
any help?
Thanks&Best regardsYou can use one of the various ways Java EE provides you, e.g. container managed authentication.
It's also all in the Java EE tutorial: [http://java.sun.com/javaee/5/docs/tutorial/doc/bncas.html].
You can configure it in the application server as well: [http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html].
Here is an example how to use it in JSF: [http://ocpsoft.com/java/acegi-spring-security-jsf-login-page/]. -
How to create automatically pdf with automator
Hello,
Probably my problem has been posted many times on this forum. So, any help is more than welcome.
I would like to create a workflow that creates automatically a pdf version of any file when dropped for example in a defined folder.
Is it possible? Does someone have already a similar workflow working?
Thanks in advance
Regards
TomSure, but you would do that if you have to convert one or two files.
I am looking for a workflow which converts automatically into pdfs hundreds of word documents for example.
thanks
tommaso -
How to start a new process in BPM
There are many ways to start a new process in BPM.However I was wondering whether there is any specific way to kick off an instance in the process with the help of PAPI from external systems.I would be thankful if someone could advise.
Check the PAPI Javadoc & Samples in the [enterprise_install_dir]/client/papi/ directory.
Basically, you must:
a) create a Process Service object
service = ProcessService.create(properties);
b) create a PAPI session with a participant
session = service.createSession(user, pass, "localhost");
c) create an instance:
instance = session.createProcessInstance("/Orders", "BeginIn", arguments);
d) destroy the session
session.close();
Hope this helps!
Fernando
Maybe you are looking for
-
HT202213 can two apple ids use the same itunes account?
I'm pretty new to apple products and have an itunes question. My husband and I just bought iPhones and have separate apple id's. We will also using an iPod. Is it possible to use itunes with both id's? Is there any way to share the files between both
-
Cracked Touch Pad on Officejet Pro 8500 Premier
I have an HP Officejet Pro 8500 Premier Wireless All-in-one printer (#A909n). The touch pad is cracked and I'm wondering if it can be replaced. I can't find the part in the online listing. The printer is functioning (by computer and buttons), but it
-
Itunes will not open because of false error w/ audio
three days ago my itunes was working fine and then i go to update the most recent addition and whenever i try to open it a message just pops up that says "itunes cannot run because it has detected an error in your audio configuation' there should be
-
It was OK until a few days ago but now no links work in either Thunderbird or Windows Mail. I have changed nothing so I can only assume that this is another case of an update changing things without my knowledge. Links within web pages still work. Fi
-
In the Nokia9300 phone you can add timing to send a text message (If you select Scheduled, you must define the date and time when the message will be sent). My question is what are the new phones have this feature ????