Insert the process task in the process with API instance

Hey gurus,

Can you advise me if it is possible to insert a specific process in a process instance task to run it? I know a name of the task to be performed, but in tcProvisioningOperationsIntf there are a key to add/execute process task. I also suspect that it might be a key to a task that is already on a process instance, slightly re - run situation.

Is there a way to do this through the API? I think I can go to IOM DB to search for a key in a table that contains the tasks of process definition, but:

(1) I need to know what table is incorporated this information

(2) I'm not positive that it is possible at all (to inject a new task into the existing process instance)

Thank you in advance!

Assuming that you have the processInstanceKey for the instance of the user:

Map taskMap = new HashMap();

String nom_de_tache = map.get('zoom') (resourceName);

taskMap.put ("Definition.Tasks.Task process name", taskname);

tcResultSet rs = taskOper.getTaskDetail (processInstanceKey, taskMap);

long taskKey = rs.getLongValue ("process Definition.Tasks.Key");

LOGGER.log (Level.INFO, "name of the task [" + TaskName + "] key task [" + taskKey + "]" "");

long insertedTaskKey = provIntf.addProcessTaskInstance (taskKey, processInstanceKey);

LOGGER.log (Level.INFO, "added task [" + insertedTaskKey + "]");

-Kevin

Tags: Fusion Middleware

Similar Questions

  • SQL statement error INSERT The conflicted with the FOREIGN KEY constraint

    I recently installed a reporting for vmware vsphere software, but I get a SQL error. I opened a request for assistance with vmware, but so far they have not come up with a solution. The error is caused by: com.microsoft.sqlserver.jdbc.SQLServerException: instruction INSERT The conflicted with the FOREIGN KEY constraint 'FK_CB_VSM_NETWORK_VC_ID '. The conflict occurred in database 'VCChargebackVCC02', table "dbo." " CB_VSM_SERVER', column 'VC_ID '. I don't know a lot about SQL, so I'm lost in the extent of troubleshooting is concerned. If anyone has any ideas I'd love to hear them.

    SQL questions are better posed on Technet.  They are better equipped to manage the

    http://social.technet.Microsoft.com/forums/en-us/categories/

  • can anyone provide a link to insert the image with the text on the button in the apex 4.2.6

    can anyone provide a link to insert the image with the text on the button in the apex 4.2.6

    ReemaPuri wrote:

    in the workspace image:-resign.jpeg

    As a button? Seriously?

    Ok. First of all, because the image already contains text, there no point in including the same wording in the form of text on the button. Accessibility requirements can be met using re-sign as alternative text. 4.2, create an image button:

    Tag/Alt text: Re-sign

    Static ID: re - sign

    Style button: Image

    Button Image: & WORKSPACE_IMAGES.resign.jpeg

    To make the image looks more like a button, add the following CSS to Inline CSS property page:

    #re-sign img {
      margin: 0 2px 2px 0;
      border: 2px outset;
      border-radius: 4px;
    }
    #re-sign img:active {
      margin: 2px 0 0 2px;
      border: 2px inset;
      border-radius: 4px;
    }
    

    Finally, there is a bug in 4.2 that generates the incorrect URL for the button images, which requires dynamic action of Page Load to fix.

    Event: Loading the page

    Action: Run the JavaScript Code

    Code

    var resignImg = $("#re-sign img");
    resignImg.attr("src", resignImg.attr("src").replace("/i/", ""));
    
  • -Pop-up message: insert the CDROM with the virtual truck program

    When I start my computer, a message is displayed as below;
    Please insert the CD-ROM with the virtual truck program. Looking for file: D:\installs\PaceEth\VTruck.exe
    Can someone please guide me to get rid of him.

    This application did not work for me but I google and found out that the virtual truck Installer is a program that enhances the Internet connection on a point to point protocol over Ethernet (PPPoE) line.
    This problem may occur if the virtual truck program that is installed on your computer is damaged or missing files.

    To resolve this problem, use the following methods: http://support.microsoft.com/default.aspx?scid=kb; EN-US; 829714

    I hope this helps.

  • Insert the disk with games error

    Im having a problem with call of duty 4 and call of duty: modern warfare, they worked fine on windows xp but im runnig vista pro now and when I try to play solo it always says to insert the right disk and try again. There is only 1 disc for these games please help. I called activision and they said to update my firmware I belive it is up-to-date. If not I don't not how update * address email is removed from the privacy *.

    docdrabs,
    If this PC has been updated from XP to Vista, check if that you update all your hardware and software drivers.  The firmware of your CD player will be available by the manufacturer of the computer or the manufacturer of the real CD player.  I'd start by checking with the manufacturer of PC for updates for most of the material.  You can get your videocard directly updated from the chipset manufacturer (nVidia, ATI, Intel, etc...) Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Cannot insert the value with: in BLOB field

    I use Oracle 10 g Express Edition.
    Attempt to run this page of SQL commands insert:

    INSERT INTO table1 (col1, col2)
    VALUES ('one', '\"2.001:2372.002:002.005:Y2.018:G')


    News of table1:
    col1 = VARCHAR2 (25)
    col2 = BLOB

    When I click on run a tab enter the Variables is displayed?

    Why can't I insert the value directly in col2 without bind variable?

    Ah, just read your message.

    I'm guessing that because your on 10g Express Edition, you must be using the Application Express?

    Edit: Here's the forum to request:

    Oracle Application Express (APEX)

    Published by: BluShadow on September 3, 2009 14:05

  • Current stage of the display with API

    Hello

    I'm using LabVIEW 2009 AP1, and I call a sequence of TestStand 4.2 by using the API. I do not use the operator interface, because this isn't a graphical interface, but a module which runs just a sequence.

    I have reproduced essentially calls listed here .NET:

    http://forums.NI.com/T5/NI-TestStand/calling-user-created-TestStand-sequence-from-net/m-p/703125?Que...

    Only with the engine of the activeX LabVIEW, properties and methods. So I have references to the TS engine, movie file, the process model and execution.

    What I need is access to the current name of the step. I don't need the whole sequence Viewer, essentially just to access the 'Step.Name' property at any specific time. I guess it would be accessible through the reference of the performance, but I am unable to track him down. I suspect it will get a reference to a subproperty of the execution and then acting on it somehow, but I can't get there from here.

    Any ideas?

    Thank you

    Tim

    Hi Tim,.

    Only two other solutions:

    If you have a handle to the execution of your

    you could use Execution.GetThread () Note: you collate property Execution.NumThreads how they are present.

    lets hope there is only one!

    Access the thread and get a context with Thread.GetSequenceContext

    Now you should be able to access the name with SequenceContext.Step.Name

    Another solution to this sort of thing might find:

    http://forums.NI.com/T5/NI-TestStand/is-is-possible-to-retrieve-a-sequence-context-through-a-new/m-p...

    related to this: http://forums.ni.com/t5/NI-TestStand/Marshalling-the-IEngine-object/m-p/666852

    I hope this also helps

    Jürgen

  • use the enterprise manager console on the server with 2 instances

    Hello

    I had a server with 2 databases (DB1, DB2), I have 2 windows services (begun boath): OracleDBConsoleDB1 & OracleDBConsoleDB2

    My problem is that I have only 1 url to connect to 1 db (in my case always DB1)

    http://servername:1158/em/console

    is it possible to type the SID in the url, so I can use the company for my 2nd db console?

    (the two db is 11G)

    Kind regards

    O

    orapunk.com wrote:
    Hello

    I had a server with 2 databases (DB1, DB2), I have 2 windows services (begun boath): OracleDBConsoleDB1 & OracleDBConsoleDB2

    My problem is that I have only 1 url to connect to 1 db (in my case always DB1)

    http://servername:1158/em/console

    is it possible to type the SID in the url, so I can use the company for my 2nd db console?

    (the two db is 11G)

    Kind regards

    O

    As suggested at, but not directly stated by others, a given instance of dbcontrol will work with a database. However, you can still have multiple databases on one host, and each database has its own dbcontrol. Differentiation will be each console runs on a different port, and this number is port part of the url that you use to reach the console. The url, with port, is reported when the dbcontrol is configured, and in my view, it is also reported to start the console.

  • Insert the key with word 2007 problem

    My insert key does not work with Word 2007.  This has been verified at Best Buy with various other keyboards to test the problem.  This can be corrected

    Hi Nitu,.

    There is an option in Word 2007 that controls that:

    Click on the Office button > Word options > Advanced > editing options > use the Insert to overtype mode control key.

    I hope this helps.

    Dave Dave D D
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Insert the problem with the statement

    case 1:

    declare
    Start
    Insert into t4 values (1);
    commit;
    Insert into t4 values ('test');
    commit;
    end;

    invalid value 1 of 1 line inserted with no identifier;

    case 2:

    declare
    Start
    Insert into t4 values (1);
    commit;
    Insert into t4 valuess ('test');
    commit;
    end;

    any line not inserted value 1 with invalid identifier;

    question is why difference between over case

    Hello

    Jhon says:

    Thnaks for the previous comment.

    Update Q4 set c1 = c1 * 2;   Why this statement fail while we and rename c32 column c1-exceute immediate statement

    If, at the time of compilation, the single column of the table is c3, the UPDATE statement will not compile.  So really, you must change the name of column in PL/SQL, then use EXECUTE IMMEDIATE to do the UPDATE.

    This is an example of why create or modify tables in PL/SQL is a bad idea.

  • Insert the graphic with hotspots and hyperlinks in Adobe Muse

    I created a map in Fireworks which includes many hotspots with links to external resources.  Should what format I save to use the map in Adobe Muse?  How can I insert it into my Muse to have site links work?  Specifically, when you click on a State, I want to take the user to the designated external site.

    Export the file on a file .html and import in object/import .html Muse are the only way to bring in the Muse external .html files.

    I don't think that approach will work with Fireworks, because I think that you can only export PNG or JPEG files into slices (not sure if do not have to use the program for some time)

    The best approach I see is to import the card (such as a PNG or jpeg file) into Muse, and then create the hot/hyperlinks inside the Muse points. It would be much easier in the long run, especially if you have to make updates or additions.

  • INSERT the SEQ WITH the question of the Select clause

    Hello
    I have Insert statement that I want to use seq with the select clause, but does not please help in this...

    Insert in aaa (rowname, rowid, rowadd)
    aa_seq.nextval, empaddress, and Select empname from emp;
    Please, do not help to accommodate seq in the insert statement.
    Insert into aaa(rid,rowname,rowadd)
    select aa_seq.nextval, empname,empaddress from emp;
    

    Do not use as ROWID column name.

  • Insert the hyperlink with &

    Hi I have query that inserts not sure it gives following error...
    Enter the docid value:
    Enter the value of nsf:
    Enter display value:
    Enter the value of ESG:


    This is the query
    INSERT INTO homepage_productlist (product_id, product_desc, product_link, is_enabled, created_by, creation_date, last_updated_by, last_update_date)
    VALUES (2, 'Manager', 'https://www-abc.com/esm_65/license_types.jsp?Open & docid = 200 & nsf = custserv - ent.nsf & view = docid & seg = ent', 'Y','s / n, sysdate,'s / n, sysdate);


    This gives the following error...

    Enter the docid value:
    Enter the value of nsf:
    Enter display value:
    Enter the value of ESG:
    Please let me know what is the cause, and sometimes it works without error mesaage some sysstem it works sometimes it fails with the above error...


    I appreciate your response.

    TOGETHER SET OFF THE COAST.

  • How to insert the date with timestamp in the table values

    Jin
    I have a table

    create the table abc1 (dob date);

    insert into abc1 values (to_date (sysdate, "HH24:MI:SS RRRR/MM/DD))

    but when I see in the database, it shows that the normal date without time stamp.

    Is it possible to insert in the back-end with time stamp.

    Thank you...

    Firstly, SYSDATE is a DATE already, no need to convert a DATE using the TO_DATE() function.

    The date ALWAYS was a component "hour", if it is displayed until your NLS settings. for example:

    SQL> CREATE TABLE ABC1(DOB DATE);
    
    Table created.
    
    SQL> ALTER SESSION SET NLS_DATE_FORMAT='MM/DD/YYYY';
    
    Session altered.
    
    SQL> INSERT INTO ABC1 VALUES(SYSDATE);
    
    1 row created.
    
    SQL> SELECT * FROM ABC1;
    
    DOB
    ----------
    02/04/2010
    
    SQL> ALTER SESSION SET NLS_DATE_FORMAT='MM/DD/YYYY HH24:MI:SS';
    
    Session altered.
    
    SQL> SELECT * FROM ABC1;
    
    DOB
    -------------------
    02/04/2010 12:54:57
    
    SQL> DROP TABLE ABC1;
    
    Table dropped.
    
  • Insert the record with the decimal string?

    I want to insert a record with commas, as the below:
    INSERT INTO TABLEA(CITY) VALUES('ALBANY,NEWYORK,TROY')
    Is there a way we can insert commas in the table?

    This statement has been inserted

    What is your question.

    SQL> INSERT INTO TABLEA(CITY) VALUES('ALBANY,NEWYORK,TROY') ;
    
    1 row created.
    

Maybe you are looking for

  • backup error "attempt to copy to disk"C:\" "failed. An unknown error occurred (-54). »

    When syncing iPhone 6 running iOS 9.3.1 I get the following error message: "attempt to copy to disk"C:\" "failed. An unknown error occurred (-54). » I am running iTunes 12.3.3.17 on a 64-bit Windows 7 Pro computer. I am logged in as administrator. Th

  • Upgrading airport Time Capsule 802.11ac one again 4th gen

    Thanks for any help, networking makes me nervous. I found this link to set up Time Capsule for the first time, https://support.apple.com/en-us/HT201510. I would appreciate any advice on how to make the new airport as the old look to all our devices (

  • SD card reader not working do not (Code 22)

    Hello when I insert the SD card in my SD card on T420 slot I see "Ricoh SD Disk Device" in Manager devices, but with the small icon with the arrow down. When I opened the properties I see "device is disabled." (Code 22) ». When I click on allow, noth

  • landscape printing problems

    My printer is the Photosmart C7250 with the latest driver from HP.  It is connected wireless to the computer that is running Windows 7 (32 bit).  When I print in landscape, the output has varied across the page widths (3) vertical lines.   No amount

  • Impossible scanner with mac os lion with office jet 4500 g510-m

    I am able to install the printer (connected via the network), but I don't get to see the scan tab, as mentioned in many forums or faq on the hp Web site. I've also updated the driver at 2.8 using the apple software update function.