Migration of Open Tasks when BPM Processes Change during major releases

Hi
This is the most often scenario faced by many project teams during Go-Lives of BPM Processes.
We would like to migrate BPM tasks from older BPM processes to newer BPM process. And there is substantial changes done between two releases.
Though I am aware that older BPM tasks created get suspended, is there way to do the following:
1. Use any migration tools to migrate old BPM tasks to newer BPM task
2. Simultaneously have both Older and Newer BPM Processes run in Environment, let them co-exist till the old BPM tasks get completed
What is the recommended approach for these kind of situations, when its not possible to either of the above activities.
Thanks and Regards,
Srikant

Hi Srikant,
we were facing the same issues.  We have a solution for this, but it has some prerequisites to make it work.  I actually talked about it at the DSAG (German SAP User Group) conference (see blog) and promised the audience to blog about it in more detail, but haven’t yet found the time to do so.
First very important is to understand how the life cycle works.  There are two very important documents to read:
SAP Note 1865683
SCN Artikel Understanding Business Process Lifecycle Management Features of SAP NetWeaver BPM
With complex processes and major changes, it is very complex to maintain multiple versions.  If you read through the above mentioned documents that becomes very clear.  Also there are other complexities, for example code reuse, data, support desk issues or user training.  There are also some restrictions running multiple versions of the same process (SAP Note 1865683)
So here is in short what we did.
We keep all our process data outside the process context in a database including the state, i.e. the current process step.  When we deploy a new major version, we cancel all running process instances and then restart them with the new process model.  To restart processes we use the SAP scheduler which starts a process if a specific status value is found.
If you don’t have your process data easily available you could use the process export function in the NWA.  The export is an XML file that you could possible parse, but I haven't actually tried this method.
In the process model we have an exclusive choice gateway where can import a process to specific process step.  This happens right at start of the process.  The gateway evaluates the status value mentioned above to decide where to go.
I hope to find the time to write the blog soon.  Here I could give you a complete example how we do the reimport of processes.
I’m also very interested in other ways to achieve this, so this should be an interesting discussion.
Regards
Detlev

Similar Messages

  • Reusing Human Tasks across BPM Processes with different Data Objects

    Hi
    JDeveloper 11.1.1.6, WLS 10.3.6, SOA/BPM 11.1.1.6
    I have defined 2 BPM Processes, P1 and P2, which has 2 different Process Data Objects O1 and O2.
    But I am reusing the same Human Task in both the processes.
    For the Human Task to support the activities in both the processes, I have added O1 and O2 Data Objects in the Human Task Definition.
    And hence the ADF Taskflow / page generated out of the Human Task will have both the Data Objects O1 and O2 as payload objects in the Page.
    When an instance of Process P1 is created, the payload O1 will have values, but O2 will be null.
    And when an instance of Process P2 is created, the payload O2 will have values, but O1 will be null.
    It works well like this, but I am a bit concerned about the performance from BPM Process and also ADF page.
    In ADF page, let us say, somehow I can control the rendering of the attributes or creation of the iterator bindings based on identifying which process is being executed.
    (By setting the iterator binding refresh property in page definition)
    In this way attribute bindings for O1 will not be created when P2 is being executed.
    But still when the Process instance is created, and when we see the payload structure of the human task in the EM - Audit Trail,
    I still see both data objects O1 and O2 are created in the Payload, but O1 will have nulls in process P2.
    So my question is, from performance point of view, is it advisable to define different Data Objects in reusable Human tasks ?
    Or should I have to define a separate Human Task definition which contains only the Data Objects related to the process it is being called from ?
    Thanks for any help
    Sameer 

    Martijn,
    You are correct in your assessment that the JAG in the current JHeadstart release cannot cope with multiple bc4j packages. There is no work around for this. Upgrading to 9051 will not help.
    In the JHeadstart-ADF release, this restriction has been lifted. You can place your EO, VO and AM objects in different packages, and you can group them in a separate project (Model project), while generating your JHeadstart application in a ViewController project.
    We have a number of customers that use the latest JHeadstart-ADF builds to build their ADF apps. If you are interested in joining this beta program, please send an e-mail to [email protected]
    Steven Davelaar,
    JHeadstart Team.

  • Reassignment of a task in BPM process

    How can I implement reassignment of a task to particular user/user's group in BPM process.
    Is any body guide me on that?Thanks in advance.
    Regards,
    Amik

    Sudipto,
    They can also be defined using Terminating Events for the task as well as Exceptions in the object method. For further info follow the link to the Help Documentation.
    http://help.sap.com/saphelp_47x200/helpdata/en/a6/9baca25f2c11d194a40000e82dec10/content.htm
    Cheers,
    Ramki Maley

  • Not able to see task of BPM process in UWL

    Dear all,
    I am not able to see my task in Portal UWL and getting an error in UWL workset saying, an error occured while trying to connect to provider and detail message says - Unexpected error occured: XMLParser: No data allowed here (:main:, row:6, col:2)
    In the Portal Log i can see following error message -
    process()
    [EXCEPTION]
    com.sap.engine.interfaces.webservices.runtime.ProtocolExceptionExt: Authentication failed. For details see log entry logID=0021288C0230293F0000000500006EB3 in security log.
    at com.sap.engine.services.wssec.srt.protocols.ProviderSecurityProtocol.logThrowable(ProviderSecurityProtocol.java:1178)
    at com.sap.engine.services.wssec.srt.protocols.ProviderSecurityProtocol.handleRequest(ProviderSecurityProtocol.java:527)
    at com.sap.engine.services.webservices.espbase.server.runtime.ProtocolProcessor.protocolsHandleRequest0(ProtocolProcessor.java:95)
    at com.sap.engine.services.webservices.espbase.server.runtime.ProtocolProcessor.protocolsHandleRequest(ProtocolProcessor.java:70)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:483)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:322)
    at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:199)
    at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:65)
    at com.sap.engine.services.webservices.servlet.SoapServlet.doPost(SoapServlet.java:61)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    I am using Portal 7.2 with SP level 08.
    Thank and Regards,
    M.D.Sahu

    Hi Mithileshwar,
    Start BPM Process Trigger - Read timed out
    Regards,
    V Srinivasan

  • How to get informed when PO / Contract changed to ordered / released status

    Hi,
    I am working on a program which sends SRM PO and Contract data to a non-SAP system, one of the requirements is to send SRM data immediately after PO / Contract's status changed to Ordered / Released ( workflow is used here ).
    I tried to used BBP_DOC_CHANGE_BADI, but noticed throuhg debugger that the last time this BADI get called, I still didn't see Ordered / Released status in the Status table.
    Is any way to know status change for PO / Contract ?
    Thanks a lot,
    Wayne Liu

    Hello Wayne,
    Solution 1:
    You can use the SRM Alert Mangament to know when a contract was released, specifically the following events RELEASED_AGAIN
    RELEASED_NEWLY.
    Check IMG Cross-Application Basic Settings-> Event and Event Schema for Alert Management
    For PO I could not find a similar event, but there is a APPROVAL_PROCESS_DOC_APPROVED event which can be used if the PO was approved after ordering.
    In any case you can create your own events and event handlers using the SRM Alert Management BAdi BBP_ALERTING.
    Solution 2: Only for Contracts
    You can use the existing Distribution mechanism to distribute contracts to Non-SAP systems.
    Distribution of contracts is triggered whenever significant changes are done to the Contract (like Release, Lock, Unlock).
    Implement function module NOR3_CTR_TRANSFER for this purpose.
    Edited by: Sushil Kumar on Mar 22, 2010 9:41 AM

  • Firefox constantly crashes when it opens and when tabs are changed.

    Ever since 4/19 of this year, Firefox has been randomly crashing when I open it, and after restarting it will crash randomly during sessions, generally when switching tabs I've noticed (though not always).
    Here is the most recent crash report in full:
    AdapterDeviceID: 0x1200
    AdapterVendorID: 0x10de
    Add-ons: foxmarks%40kei.com:4.2.1,tilt%40mozilla.com:1.0.1,tineye%40ideeinc.com:1.1,%7BDDC359D1-844A-42a7-9AA1-88A850A938A8%7D:2.0.16,%7Ba7c6cf7f-112c-4500-a7ea-39801a327e5f%7D:2.0.18,%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D:1.15,%7Bb9db16a4-6edc-47ec-a1f4-b86292ed211d%7D:4.9.22,xkit%40studioxenix.com:7.4.3,%7B73a6fe31-595d-460b-a920-fcc0f8843232%7D:2.6.8.20,https-everywhere%40eff.org:3.5.1,%7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D:28.0,keywordsearch%40kaply.com:1.0.7,%7Bc8d3bc80-0810-4d21-a2c2-be5f2b2832ac%7D:0.84,%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D:2.5.1,jid1-xUfzOsOFlzSOXg%40jetpack:4.3.2.1
    AvailablePageFile: 29716611072
    AvailablePhysicalMemory: 12883689472
    AvailableVirtualMemory: 3534315520
    BIOS_Manufacturer: American Megatrends Inc.
    BlockedDllList:
    BreakpadReserveAddress: 45088768
    BreakpadReserveSize: 37748736
    BuildID: 20140314220517
    CrashTime: 1398707262
    EMCheckCompatibility: true
    Email: [email protected]
    FramePoisonBase: 00000000f0de0000
    FramePoisonSize: 65536
    InstallTime: 1395693314
    Notes: AdapterVendorID: 0x10de, AdapterDeviceID: 0x1200, AdapterSubsysID: 089810de, AdapterDriverVersion: 9.18.13.3523
    D2D? D2D+ DWrite? DWrite+ D3D10 Layers? D3D10 Layers+
    ProductID: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
    ProductName: Firefox
    ReleaseChannel: release
    SecondsSinceLastCrash: 37230
    StartupTime: 1398707160
    SystemMemoryUsePercentage: 24
    Theme: classic/1.0
    Throttleable: 1
    TotalVirtualMemory: 4294836224
    URL: about:blank
    User32BeforeBlocklist: 1
    Vendor: Mozilla
    Version: 28.0
    Winsock_LSP: MSAFD Tcpip [TCP/IP] : 2 : 1 : %SystemRoot%\system32\mswsock.dll
    MSAFD Tcpip [UDP/IP] : 2 : 2 :
    MSAFD Tcpip [RAW/IP] : 2 : 3 : %SystemRoot%\system32\mswsock.dll
    MSAFD Tcpip [TCP/IPv6] : 2 : 1 :
    MSAFD Tcpip [UDP/IPv6] : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    MSAFD Tcpip [RAW/IPv6] : 2 : 3 :
    RSVP TCPv6 Service Provider : 2 : 1 : %SystemRoot%\system32\mswsock.dll
    RSVP TCP Service Provider : 2 : 1 :
    RSVP UDPv6 Service Provider : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    RSVP UDP Service Provider : 2 : 2 :
    MSAFD RfComm [Bluetooth] : 2 : 1 : %SystemRoot%\system32\mswsock.dll
    useragent_locale: en-US
    Here is a screenshot of all the crashes since this started a week ago:
    http://i.imgur.com/WqvP2tV.png
    Any help would be appreciated.

    One of the bug reports linked to your crashes says the HTTPS Everywhere extension could be a contributing factor. Would you try disabling it for 48 hours and see whether that makes any difference?
    You can do that on the Add-ons page. Either:
    * Ctrl+Shift+a
    * orange Firefox button (or Tools menu) > Add-ons
    In the left column, click Extensions.
    Some of these crashes are related to the "Just in Time" (JIT) JavaScript compiler(s). You could try disabling some of those features to see whether that helps. Alternately, you could run Firefox in its Safe Mode for a period of time since that disables them automatically (but in that case, extensions also are disabled).
    ''To disable individual preferences:''
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the search box above the list, type or paste '''javas''' and pause while the list is filtered
    (3) Double-click the following preferences to switch them to "false":
    * javascript.options.baselinejit.chrome (Firefox UI)
    * javascript.options.baselinejit.content (page content)
    * javascript.options.ion.content (page content)
    There might be other relevant items but we're a little out of my depth here.
    ''If you prefer to test using Firefox's Safe Mode:''
    You can restart Firefox in Safe Mode using
    Help > Restart with Add-ons Disabled ''(Flash and other plugins still run)''
    In the small dialog that should appear after Firefox exits, click "Start in Safe Mode" (''not'' Reset)

  • Photoshop CC not defaulting as first priority "open with" when attempting to change all

    Can anyone help, I have both Photoshop CC and Photoshop CS6, when I go to change all files ending in .psd to Photoshop CC it reverts back to CS6.
    This is happening in the info sub-tab when I right-click a .psd file.
    Any ideas?
    Thanks in advanced

    I think that is an operating system issue with file associations
    Search http://search.microsoft.com/search.aspx?mkt=en-US&setlang=en-US for Windows information

  • Task UWL and Warnings BPM process

    Hi,
    I have two questions about:
    - Created Tasks in the UWL
    - Warnings BPM process.
    I have created a BPM process with a one human activitie. This human activity assigned to a task with one potential owner. When i start the process and open the portal UWL, two tasks has been generated!?. Both are the same because when i complete the first task and open the second task, i get the message: " Task has been already completed ".
    Second question: when i open the created BPM process, the following warnings appears in the problem tab of NWDS:
    Some of the data elements from input mapping of "Cancelled"is not initialized before used.
    Some of the data elements from input mapping of "Completed"is not initialized before used.
    How can i solve this warning?
    Kind regards,
    Martin Gerritsen

    Hi Martin,
    Regarding the "double-task". How did you invoke the process? Via web service? Via NWA? Might it be possible that you submitted the request twice (e.g. double-click instead of a single click?) and that's the reason why 2 tasks are apparing? Or does this happen every time when you start the process?
    Just a best guess.
    Best regards,
    Martin
    Martin,
    The process will be started by a web service. This service is created as a new WSDL in the BPM environment. This service is connected to the start event of the BPM process and contains a few import parameters. After that i called the service from a R/3 system which started the process.
    The 2 tasks apparing everytime i start the process...
    When i start the process from the process repository (Netweaver Administrator -> Configuration Management -> Processes and tasks), i get the same problem...
    The process contains two human activity's. When the first activity is completed and the second human activity start, 2 tasks will be generated (both the same...)

  • No open tasks, but Solution Overview shows open tasks

    Hello,
    we have a problem with the "Open Tasks" display. In Solution Overview for our QA systems are 14 open tasks displayed. When we click on the link and go to our Solution, none of our systems has open tasks, cause we re-initialized all QA systems.
    But why are there 14 open tasks when all system belonging to this solution have no tasks active and configured? Refreshing in Solution Overview does not help.
    Thanks for your help!
    (Solution Manager 7 with SP-Stack 17)

    Hello Andreas,
    thanks for your post. We're already using ST-SER 700_2008_1.
    But we found out how this happens. After customizing the tasks, we moved one system to an logical component (same settings, only a new name) inside the same system group. After this the old open tasks appears every time in the solution overview.
    Solution:
    Create a new solution and attach system from the old solution to the new solution. You can use the "Copy customizing function", the problem is related to the solution and not to single systems.
    Hope this could help someone also.
    Best regards
    Kilian

  • How to enable Order release to rejected status when batch derivation fails during release

    Hi,
    I need to enable production order release to rejected status when batch derivation fails during order release.
    one way is to have Batch entry required for the sender material in the material master, with this standard SAP will reject the release.
    Below is the scenario:
    sender attribute for derivation  - VFDAT from batch of the sender material
    sender material  - Batch Entry not required in material master
    All required master data set for derivation.
    during order release, since batch entry is not required, system carries out the derivation without sender batch and derivation fails. Order still gets released.
    I am looking for advise on how to restrict release in above situation.
    appreciate your help.
    Thanks
    Aheesh

    Aheesh,  Order release for instance is based on what we see as events/system statuses which are allowed/forbidden etc., for a particular action to happen/be triggered.
    If you can figure out if there exists a status related to batch derivation, it may give some further leads.

  • ORABPEL-30516 when open tasks content in BPM workspace

    I try to open content of tasks in BPM Workspace (http://localhost:7001/bpm/workspace/) and get error:
    ORABPEL-30516
    Token decryption failed.
    Could not extract information from Workflow context token.
    Ensure that the Workflow context is not corrupted and it was generated from one of the nodes in the same cluster.
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl_1035_WLStub.getWorkflowContext(Unknown Source)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.getWorkflowContext(TaskQueryServiceRemoteClient.java:223)
         at sun.reflect.GeneratedMethodAccessor3350.invoke(Unknown Source)
    Caused by: ORABPEL-35011
    Unable to Decrypt data.
    Unable to Decrypt data.
    Check for corrupted encrypted data. Check installation/post-installation steps for errors. Check for errors during SOA server startup.
         at oracle.bpel.services.common.util.EncryptionService.decryptBytes(EncryptionService.java:139)
         at oracle.bpel.services.common.util.EncryptionService.decrypt(EncryptionService.java:111)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.decryptString(VerificationService.java:2588)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.getValuesFromToken(VerificationService.java:2620)
         at oracle.bpel.serv
    On another computer this tasks open well! I tried with diffrent browsers (Explorer, Firefox) and also get error? Have you any ideas about this problem?

    I know this is an old post, but it sounds like you're trying to use multiple factories to connect to BPM. I experienced a similiar issue when I initialized a handle on a factory in a class constructor. Later, in method within that class, I was using a context obtained via a different factory. This same error was thrown. I hope this makes sense.

  • When closing my Firefox window, all processes are not closing requiring me to open task manager and kill the process before using Firefox again. Received recent upgrade and hasn't worked right since then.

    I open Firefox, use it, then close the window. Try to reopen Firefox and it fails with a message that a previous process is still running. Requires me to open Task Manager and kill the old process.

    Try to wait a bit longer before reopening Firefox to give Firefox more time to close completely.<br />
    Try to use "Firefox/File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit") to close Firefox if you are currently doing that by clicking the close X on the title bar.
    See "Hang at exit":
    *http://kb.mozillazine.org/Firefox_hangs
    *https://support.mozilla.com/kb/Firefox+hangs

  • I am uanble to open or close firefox. when I try to run new download it states close firefox. it is not open on my computer. I am unable to open it. Last time change was made was July 5, 2011.

    I am uanble to open or close firefox. I usually use firefox. When I updated or download something it disable firefox. Last change July 5, 2011. I have tried downloading it a gain but it states I have existing program that is open and won't let me run it. Help. I love and trust firefox

    Try holding control, alt and delete down in succession and then a dialogue box will appear with windows task manager. Once open click on the Processes Tab and look for firefox.exe. Highlight this and then click end process. It should come up with a warning but just click Yes. This should then close firefox and allow you to reopen it from your desktop without shutting down your computer. Hope this helps.

  • BPM Process does not show newly added task

    I added a new task to my current BPM Process which has several tasks already built into it and they work when deployed. When I execute the workflow and get to that step, I get the following message: Details not available for this task. I am using jDeveloper 11.1.1.5. I created my page with ADF. I can see the pages for all the rest of the tasks in my process but not this newly added step. I have checked the source for this task against other tasks in the process and it looks the same. Does anyone have an idea what I might need to change or add in order to make this work?
    Edited by: user10279592 on Jan 13, 2012 7:20 AM

    If you're getting the Server 500 error and it is not an initiator task, what are you seeing at the bottom of your log file?
    If you're getting the Server 500 error and it's an initiator task, then there is a trick to figuring out the real problem (close the dialog -> refresh the worklist -> select the work item at the bottom of the list). The initiator activity makes it necessary to do this additional step to see what the issue is.
    Hope this helps,
    Dan

  • Calling ADF page Custom Listener (Ex: ActionListener) from BPM Process Task (APPROVE/REJECT)

    Hi All,
    Jdeveloper version - 11.1.1.7
    I am very new to BPM / SOA development, but I have very good development skills on ADF.
    I am not using ADF BC, using EJB for business services and also using custom ADF pages for HumanTasks.
    Usecase:
    From the BPM Process task, when process submission (APPROVE / REJECT) , I need to invoke a Custom listener (Ex.Action Listener - a EJB call) in the ADF page.
    I am trying to use BPM APIs.
    Please clarify me how this will achieve using BPM APIs. I need detail guidelines to do it. Please make to understand this process.
    Provide some useful documentation or links to understand the following:
    1. Custom Human task pages
    2. BPM APIs - 11.1.1.7
    3. Call a BPM process task from ADF Listener and Call a ADF Listener from BPM Process task - Using BPM APIs.
    Please revert more clarifications needed.
    Thanks and Regards
    Mohanraj N

    Hi Joonas.
    Plese let me explain me better for your understanding
    A big summary for what I meant it's the following:
    1- In the procces you made, when you add the HT activity, you have to implement it, this means declare the input(s) parameters you want. This implementation create the .task file.
    2- Create an application, and projects as HT you have. Each poject are based on the .task file, and automatically create a Data Control (for each project based on a .task) with all you need.
    This w'll be an empty application, so you can customize it all you want. The task selected should have all the parameters previously defined. Those parameters can change if you want.
    2- Create a page(s) in the task flow for the task implementation. You can even split the the payload of the task in differents pages, create your custom pages and any logic you need.
    3- An important aspect is how to match these application with the HT implemented in the process. It's possible, it's a configuration en the Enterprise Manager.
    4- Deploy your application
    All these are explain in the book I mentioned
    Th book you can find it here:
    https://blogs.oracle.com/soacommunity/entry/oracle_soa_suite_11g_handbook_1
    Regards Dariel.
    PS: Please, let me know if you need more details.

Maybe you are looking for

  • Does iBook support internal links in PDF eBooks?

    Hello, I am creating an eBook in Adobe InDesign. After exporting to the PDF format I create internal hyperlinks in Adobe Acrobat that allow for better usability in the digital format. When I open the PDF eBook on the iTouch or iPad, these links do no

  • Dimensions with buffer_pool = keep

    Hi, We have a data warehouse built with WareHouse Builder more than 5 years ago. At that time, on a 8i database, it was suggested that we put our dimensions with buffer_pool = keep to get a faster response in Discoverer. We have a fact table partitio

  • CGSO$CANVAS_TAB problem (Des6i+HSD212+Patch13)

    When generating a form with first module component on New content canvas and two others on New tab canvas page, from Des6i with qmsolb50.olb this warning appears: CDG-01077 WARNING: Implementation source object CGSO$CANVAS_TAB of correct type not fou

  • CUCM Cluster with MCS-7845-I4

    Hi, I am doing a CUCM design for a customer with MCS-7845-I4 servers. We are building a Central solution with CUCM,CUPS, UCCX and Unity Connection. There will be 4 CUCM servers. All gateways (about 40) will be H323, each with 1 E1 for PSTN. All gatew

  • Playing audio from Apple TV through iPod stereo...

    Hey guys, just got a new ATV and I'm wondering what to do now with my older one. I've got an Altec Lansing iM7 stereo hooked up in another room with a 30gb 5th gen iPod in it and it acts as my home stereo. Works well but I still have to go over and m