Rename CAF Process at Rumtime

Hi folks,
How to rename CAF Process at runtime.
I want to rename Process or append an ID at runtime.
How it can be achieved. Pls suggest suitable API's.
Mandeep Virk

Hi,
this is the way a process can be renamed at execution time:
IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
      rtm.setCustomProcessTitle(executionContext.getProcessId(),nuevoNombreProceso.toString());
nuevoNombreProceso.toString() is a string with the new name of the process.
Regards,
Marco.

Similar Messages

  • How to rename CAF process at runtime

    Hi Folks,
    My requirement is to rename CAF process at runtime.
    On completion of First step of process, i am generating an ID and i want to append this id with process name or replace process name with ID.
    Please help me with suitable API's
    Mandeep Virk

    Hi,
    this is the way a process can be renamed at execution time:
    IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
          rtm.setCustomProcessTitle(executionContext.getProcessId(),nuevoNombreProceso.toString());
    nuevoNombreProceso.toString() is a string with the new name of the process.
    Regards,
    Marco.

  • Starting a CAF process from UWL?

    Hi Guys,
    I can see list of workflow items from R/3 in my UWL in Portal. Now I want to start a CAF process from the workflow item and not any R/3 workflow. Is it possible? If yes how can it be done? I've referred to documents explaining how to call a BSP or MiniApp  or WebDynpro  for ABAP , but that is not my requirement.
    Any inputs/ pointers are welcome and would be rewarded suitably
    Thanks in advance.
    Best Regards,
    -Vaibhav

    Hi,
    Check this blog on Netweaver workflow capabilities,
    Workflow in SAP NetWeaver
    Hope this helps !
    Regards
    Srinivasan T

  • Rename of process name

    Hi,
    At the workbench, Is there any way to rename a process name once it is created. The process category name can be changed under the proporties page, but can't find any way to change the process's name.
    I tried deactiviate the process, also cannot...
    My purpose is, initially when I implement the process, I use a generic name for the process. Later on the midst of development, I want to change to a more specific name. Any suggestion?
    How can I copy the components from a process to another process?
    Thank you.

    Thanks again WorkflowUser... you are right that can create a new process by copying existing process to it.

  • Assigning Portal Group to CAF Process

    Hello Experts,
    I want to assign portal group to caf process.
    I am starting the process programmatically (Using Java Web Dynpro).
    And also I dont want to assign user by user of the group to the process.
    let me know if it is possible, and If Yes ( ) How ??
    Regards,
    Yogesh...

    Hi Yogesh,
    Yes, you can assign portal group to your process action.
    If you test your process from GP directly, Wile assigning users to the actions. you will see an option to assign a group and a role too(by selecting that dropdown).
    So if you directly pass the group name in your code while calling GP. It will assign all the users in that group for that selected action.
    Hope this resolves your query.
    Thanks,
    Tejaswini

  • To Bypass CAF Process Initiation default page

    Hi folks,
    I am triggering a CAF process from WebDynpro application and navigating to process iView from WD iView  in portal using Absolute Navigation approach.
    Note: i have created a URL iView to show CAF process in portal.
    I am able to navigate to process iView. Here i get default page of process which contains input parameters and buttons to Initiate process.
    I want to bypass this initial page.
    Pls help
    - Mandeep Virk

    Hi Mandeep,
    i can think of two reason for this "default page" to appear:
    1- You have exposed in input parameters with the " is required " checkbox activated , but you are not sending them any values in the URL, so as they are NULL the framework asks you to fill them.
    2- You said you are using URL Instantiation, please check if you are using the &process.autostart=t in the url, for example:
    ../../sap.com/cafeugpuiinst/AInstantiation?process.template.id=4CC025B0506A11DE98E000145E2A8FE2&process.autostart=t
    Regards,
    Marco.

  • CAF Process - Types of users creating composites

    Hi all,
    I was wondering what's your opinion on about what kind of development can be done by other people other than developer (for example business analyst) during a caf project.
    I was thinking about something like this:
    1. creating processes, blocks and actions and attaching existing callable objects - business analyst or developer
    2. creating entity services, external services - business analyst ? (developer of course too)
    3. creating application services - developer
    4. creating callable objects which don't include coding - business analyst and developer.
    5. creating Web Dynpro UI from templates - business analyst and developer.
    Any other ideas, disagreements etc?
    Regards,
    Ladislav

    closed

  • Renaming BPEL Process

    I am looking for way to rename the BPEL Process Project. I want to rename the BPEL process Project that i created to another name and the expectation is to see all the related files (.bpel,.wsdl,.xsd that were created at the time new BPEL project creation ) to a new name that i am going to specify.Can any one tell me how to do this.

    I use unix script for this, renaming files and the content in these files:
    #!/bin/sh
    if [ $# -lt 2 ] ; then
    echo -e "Wrong number of parameters"
    echo -e "Usage:"
    echo -e " $0 findstring replacestring filepattern\n."
    exit 1
    fi
    fstring="$1"
    rstring="$2"
    if [ "$3" = "" ]
    then
    somefiles="*"
    else
    somefiles="$3"
    fi
    find . -depth -name "${somefiles}" \! -name ".svn*" -type f -exec sed -i 's/'${fstring}'/'${rstring}'/g' {} \;
    for FILE in `find . -depth -name "${somefiles}" \! -name ".svn*"`
    do
    NEW=`echo ${FILE} | sed -e 's/'${fstring}'/'${rstring}'/'`
    if [ "${NEW}" = "${FILE}" ]
    then
    else
    echo $0: mv ${FILE} ${NEW}
    mv ${FILE} ${NEW}
    fi
    done

  • Renaming the process

    If we rename any of the process, and run the workflow, it’s not getting reflected. It still shows the old process name. This happens in spite of deleting the old instance and restarting the server. We manually need to edit the .xpdl file for old references and save it back.
    thanks,
    Regards,
    Archana

    I think it would be best if you specified what the real issue is, and why this presents a problem to you.
    If you really need to see the entire command line of the process, you can go to the

  • How to rename a bpel process

    Hi All,
    Could any one suggest if there is any way to rename a bpel process?
    Regards,
    Satish

    An age old question:
    If you work on Linux, it is very easy to rename a bpel process. I usually ftp the project to a Linux server when I need to rename the process.
    if your process is called 'OldName'. cd to the project directory 'OldName' and run the following commands. It will do the search and replace for you in 3 easy steps.
    # 1. Search and Replace the string
    find . -type f -exec sed -i 's/OldName/NewName/g' {} \;
    # 2. Rename the files
    find . -name 'OldName*' -exec rename OldName NewName {} \;
    # 3. Rename the directory
    cd .. ; mv OldName NewName
    HTH,
    Neil.

  • Change process name in workspace

    Hi all,
    I'm using BPM 11g and I'm trying to deploy my process with a specific name. This name should be used when logging into the bpm workspace on the top left in the applications tab.
    However I'm unable to find where this name is created. Currently its [ApplicationName]processName. I'd like to change it into something a bit more fancy.
    Any idea how I can achieve this ?
    Thanks for the help.
    Kind Regards,
    Nils

    Is this 11g? You will have to rename your process. The application name is from the process. Try this - it should work with BPM processes as well https://blogs.oracle.com/middleware/entry/renaming_bpel_process_names
    thanks,
    -Vikram

  • Rename ActivityId

    A Business Analyst created a project and passed it my way for review. I renamed some processes and activities and spit out the documentation using Project Export. When I had BPM spit out the documentation, the process flows were all out of order. The main flow was at the bottom of the list, and the sub-flows were also jumbled. After some research, I discovered that when BPM spits out the documentation, the processes and what not are sorted by ActivityId. Is there any tool or recommended approach for renaming an activityId? I know that the activity can be deleted and recreated with the appropriate name, but when you're talking about an entire process, this just isn't feasible.
    Any thoughts would be appreciated.

    I'm probably going to get a lot of flack for suggesting this, but you can try to do a global replace in the xpdl files. Be sure to monitor the changes to ensure only the process names are changed.
    If you're planning to deploy this over early version of code, I would not recommend this. The engine will surely get confused. But if this is the first iteration release, it may work. You can always go back to the old names, if it doesn't work.

  • How to rename the emptybpelprocess

    Hi Guys,
    I have ReadFile Empty template process (  not synch or asynchronous process) it is working fine but , i want to change the file name.
    Please any one can provide solution.
    Regards
    Janardhan

    There are 2 approaches I have used to rename a process:
    1) A very useful blog entry for how to Change A BPEL process name after it has been created can be found at: http://oraclesoa.blogspot.com/2008/05/copy-bpel-project-with-different-name.html
    This uses custom ANT Tasks to rename the project including process name, namespaces etc
    2) An alternative an more manual approach is to use jDevelopers templates. Mark your process as a Template using jDeveloper, give it a name. Then create a new process based on this template. This will create a new process with all the code from the previous one. To tidy up the project you may want to search and replace for namespaces with the .bpel and .wsdl files to match the new process name (if the defaukt were used)
    Hope this proves useful
    David
    Edited by: David Gaskell, GW on Jan 26, 2009 4:30 PM

  • CAF Framework

    Hi,
    My application is a web application. I am planning to port it to SAP EP. I just heard about CAF Framework.
    Can any one of you please tell me, what is the broad picture of CAF Framework and when it can be used?
    Thanks and Regards,
    Rangaraj

    Hi Rangaraj,
    Check the following link. it gives a detailed description about CAF.
    The SAP Composite Application Framework (CAF) comprises design tools, methodologies, services and processes, an abstraction layer for objects, and user interface and process pattern libraries. On the other hand, the CAF process layer (Guided Procedures) helps orchestrate the different pieces in order to create multi-step, workflow-based solutions beyond the scope of a single computer desktop.
    The CAF Knowledge Center is a compendium of CAF Core and CAF Guided Procedures (GP) content.
    https://www.sdn.sap.com/sdn/index.sdn?page=caf_knowledge_center.htm
    Regards
    Rajeev.
    Do award points for helpful answers.

  • Java process

    i have one question as follows
    say,if any java program "MyProgram.java" is running ,then in task manager(processes) java.exe will be displayed.
    Now my intension is instead of java.exe it should appear as MyProgram.exe in task manager (processes). how can i acheive this.
    reason for this ,if say,4 java applications are running.then in taskmanager it will be java.exe for 4 times.In order to identify individual applications through task manager(processes) i need to rename the process name

    it may not be passible because . all your java programs will run on top java.exe.whenever you need to run java program you will use java ProgramName.java.Here main running program was java(java.exe). in side java.exe we can know thet the program running whether it is ProgramName.java or SomeThing.java.but it is not known to outside of java.exe.thats why we are getting protability from java.If you dont want java.exe in your process listing you donot run your java program with java command and use whatever name you whant

Maybe you are looking for