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.

Similar Messages

  • Customization of Human tasks the BPM Worklist App with ADF App

    Hi All,
    We are building a custom ADF application which aims to combine several business process human tasks to a unified interface.
    And how to integrate the Human Task Flow BPM Worklist to my ADF App.
    Otherthan that
    To the BPM Worklist App we want to do customizations also like
    1.Want to customize to apply our own custom skins to customize banner logo, title to the BPM Human Task Flow App.......
    2.And based on the logged in user/role we wanted to restrict the features of the Work List App.
    Say for Example should not provide the Facility to Add New Page if the logged in user is not an Admin, like wise no provision to add or modify or delete the Worklist Views like that...
    How to get control the App based on User/Role
    Any help or pointers would be appreciated!
    I have ADF Experience from projects Using JDeveloper 11.1.1.5.
    But, for me this is the first BPM case.
    Renuka

    Hi Renuka,
    There are basically two ways to create an ADF UI for a BPM Task:
    1. Generate it from the task
    2. Create a ADF Taskflow based on Human Workflow Task
    Since I tell this by heart, I might be slightly wrong in the terms.
    You probably want to try the second option. It is accessible from the "New Gallery". You'll have to provide the Human Task from the BPM project, but then you can build up the ADF Taskflow by your self, based on the customizations of the rest of your application.
    Should not be rocket science for someone with ADF11g experience. Since it is not my dayly job, I need to figure it out every time again ;). But I did it in the past and it wasn't so hard.
    Regards,
    Martien

  • Scheduling a bpm process on particular date

    Hi all,
    I'm working on SOA suite 11.1.1.5 version.I want to scheduling a bpm process on 7th date of every month.Please give me a suggestion on this.
    Thanks!

    there are zillion of solutions, my favorite (I like primitive stuff, usually it works under all circumstances) is to use a cron job to run a WGET who triggers a HTTP enabled activator for the process.
    Otherwise if you google for soa suite scheduler you will find endless discussions on this topic.... truth is that there is no simple solution AFAIK

  • I have multiple devices backed up to the same computer each with different data. how do i keep them from syncing all data when i back up or transfer stuff from the computer to a device?

    i have multiple devices backed up to the same computer each with different data. how do i keep them from syncing all data when i back up or transfer stuff from the computer to a device? one is an iphone 6 and the others are ipad mini first gens, each ipad has 64gb and the iphone has 128, need to keep the data seperate as they are not all mine

    Itunes content and pics are NOT part of the backup that itunes performs.
    Backing up, updating, and restoring iPad, iPod touch, and iPhone software
    You should transfer any purchases from iphone regularly:  File>Transfer Purchases  , if they fail to be transferred when you sync.
    You buy one and only one download.  It is your responsibility to move/copy/backup your purchases.
    You can try contacting itunes support and asking for an exception, but they are under no obligation to allow.
    http://www.apple.com/support/itunes

  • I have multiple itunes libraries in my itunes folder with different dates. how did this happen?

    im trying to figure out why songs randomly disappear from my actual itunes. when i check the itunes folder on the drive, there are several versions with different dates. I didnt intentionally create these multiple libraries and i dont know how to open them to look for missing music

    Settings/Store worked...thanks Lawrence

  • How to go about multiple inclination with different data selection in Delta

    We have to copy large amount of data ( more than 42lak of recodes) selectivly from on ODS to other ODS. in delata load ( BW 3.5 enverioment)
    I thought of loading data in slices through delta loading with selection condition.
    step 1> Do The initialization with selection condition as for calyear =2001 ( Init without data transfer )
    step 2> Take the delta load .. it will take all delta record with same selection
    step 3> Now I want to do Initialization with selection condition as for calyear =2002
    step 4> take the delta now it will take delta for year 2001 and 2002 both Right ?
    Here what problem I am facing.. while doing 2nd time initialization it prompt me to delete the last  initialization request form scheduler menu.
    if i delete the last request .. will it take the delta  for previous initialization selection  and new initialization selection. ?
    Please advice how to go about multiple inclination with different data selection in delta loading.
    Looking forward your reply.

    Hi,
    step 1> Do The initialization with selection condition as for calyear =2001 ( Init without data transfer )
    step 2> Take the delta load .. it will take all delta record with same selection
    step 3> Now I want to do Initialization with selection condition as for calyear =2002
    step 4> take the delta now it will take delta for year 2001 and 2002 both Right ?
    You are correct with this scenario normally. The message you mentioned normally comes up when you open a infopackage and don't change the selection first or in case you have overlapping selections with an already done init.
    regards
    Siggi

  • How to compare two rows from two table with different data

    how to compare two rows from two table with different data
    e.g.
    Table 1
    ID   DESC
    1     aaa
    2     bbb
    3     ccc
    Table 2
    ID   DESC
    1     aaa
    2     xxx
    3     ccc
    Result
    2

    Create
    table tab1(ID
    int ,DE char(10))
    Create
    table tab2(ID
    int ,DE char(10))
    Insert
    into tab1 Values
    (1,'aaa')
    Insert
    into tab1  Values
    (2,'bbb')
    Insert
    into tab1 Values(3,'ccc')
    Insert
    into tab1 Values(4,'dfe')
    Insert
    into tab2 Values
    (1,'aaa')
    Insert
    into tab2  Values
    (2,'xx')
    Insert
    into tab2 Values(3,'ccc')
    Insert
    into tab2 Values(6,'wdr')
    SELECT 
    tab1.ID,tab2.ID
    As T2 from tab1
    FULL
    join tab2 on tab1.ID
    = tab2.ID  
    WHERE
    BINARY_CHECKSUM(tab1.ID,tab1.DE)
    <> BINARY_CHECKSUM(tab2.ID,tab2.DE)
    OR tab1.ID
    IS NULL
    OR 
    tab2.ID IS
    NULL
    ID column considered as a primary Key
    Apart from different record,Above query populate missing record in both tables.
    Result Set
    ID ID 
    2  2
    4 NULL
    NULL 6
    ganeshk

  • I have my ipad notes linked to gmail and suddenly disappeared when I put the sim card into a new iphone, the funny thing is that almost all disappeared except 4 and with different dates up to two years. Why did this happen? No way to recover them?

    I have my ipad notes linked to gmail and suddenly disappeared when I put the sim card into a new iphone, the funny thing is that almost all disappeared except 4 and with different dates up to two years. Why did this happen? No way to recover them?

    Wow, Karan Taneja, you've just embarrassed yourself on a worldwide support forum.  Not only is your post ridiculous and completely inappropriate for a technical support forum, but it also shows your ignorance as to whom you think the audience is.  Apple is not here.  It's users, like you. 
    If you would have spent half the time actually reading the Terms of Use of this forum that YOU agreed to by signing up to post, as you did composing that usesless, inappropriate post, you (and the rest of us on this forum) would have been much better off.

  • New IMac - transferring data with Lexar jump drive - all files come across as modified with todays date not date formed as on the old computer (also an IMac) what gives.

    I purchased a new Imac and when transferring data with a Lexar Jump drive the filed come across as modified with todays date rather than the date that the files were created. How do I keep the files as they are?

    I purchased a new Imac and when transferring data with a Lexar Jump drive the filed come across as modified with todays date rather than the date that the files were created. How do I keep the files as they are?

  • Calculation Field to be mapped to different data object's column name in Oracle BAM 12c

    Hi,
    I am having a challenge to enable drill down to 2nd level report by passing calculation field as parameter.
    As an alternative, I am thinking to point calculation field to another data object’s column name and generate report so that I would be able to pass that as parameter to drilling report view.
    Is there any way to map calculation field to different Data object’s column name? Thanks in advance.
    Regards
    Amik Basu

    1. Yes, you can.
    SQL> create table ÜÝÞ( ßàá number(10));
    Table created.
    SQL> insert into ÜÝÞ values (10);
    1 row created.1.1 and 1.2 and 2. You can choose UTF as your default character set. It allows the user of non-English characters in VARCHAR columns in your whole database. It is not per tablespace.
    SQL> create table ÜÝÞ( ßàá varchar2(100));
    Table created.
    SQL> insert into ÜÝÞ values ('âãäçìé');
    1 row created.

  • Facing lot of problems with the DATA object  -- Urgent

    Hi,
    I am facing lot of problems with the data object in VC.
    1. I created the RFC initially and then imported the data object in to VC. Later i did some modifications to RFC Function module,and when i reload the data object, I am not able to see the new changes done to RFC in VC.
    2. Even if i delete the function module, after redeploying the IVIew, results are getting displayed.
    3. How stable is the VC?
      I restarted the sql server and portal connection to R3 is also made afresh.... still i am viewing such surprise results..
    please let me know what might be the problem.

    Hi Lior,
    Are u aware of this problem.
    If yes, please let me know...
    Thanks,
    Manjunatha.T.S

  • A BPM process with out any human task

    Hi All,
    I am new bie to BPM. Can I create a BPM process without any human task?
    Like start event, service task (or any other activity) & end event.
    If it is possible, please let me know the proper steps to execute and test this process also.
    Thanks,

    Hi
    Yes, ofcourse you can have a Process without any User Task. Ex: Start Node -> Service Task -> End Node. Start Node can be 2 things say like DB Adapater and File Adapter. Read something from DB from some table and put into the Text File.
    But the thing is, BPM Process is more of Role Oriented. If you already saw, you define something called Swim Lanes and put each User Task in those Lanes and automatically users in that Role only can work on those Task.
    If you do not have any such things like User Task, you don't even need to create a BPM Process. Just create a simple BPEL with your custom Payload.
    Now, the most important question is how do you plan to trigger/start this process whether BPM or BPEL. Do you assign some users to the first Role and do users log into bpm/workspace and click the Link on the left side to start the process. ALSO since there is NO User Task, you will NOT have any Task Details Page and this means you MAY NOT even see the link on the left side in bpm/workspace.
    The only option I could see is have BPEL. This BPEL will have a WSDL automatically generated. And you can use this WSDL to instantiate the task.
    If your intention is to use this process/bpel in some other MAIN Process then it is totally possible.
    Thanks
    Ravi Jegga

  • 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

  • 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

  • Human Task in Empty Process

    Hi Guys!
    Can someone tell me how to create a Human Task in an empty project?
    These are the problems i m facing:
    1. I dont have any schema in my process so i cannot choose the task parameter
    2.If i choose initiateTask from workflow.xsd as the task param then the task jsps are not generated
    3.If i create a variable from a schema and use it then it will say unresolved variable ..make sure it is in any of the WSDLs referenced..
    4.Morever i can't import the schema which initiates the process as it has some imports and jdev says problem building schema
    Any suggestions as how to go about this?

    Well you must understand what the 'sync' part in your process is.
    if you have a process with is sync and in it you put a human workflow which will give his callback like 3days later before your own process gives the reponse back to the caller, how do you want to communicate this to the caller ?
    normally you use a sync process which will give the response back in a few moments, so the caller can wait on it, he won't wait on it for 3days.
    so for you the question, whats the reason why it needs to be sync, what do you want to do with the response (even if it's getting back to you after 3days)
    if it's after 3 days, why not just make the process async and put the response on for example a queue

Maybe you are looking for