Siebel Operation Insert Step Issue

Hi,
In Siebel 8.0, while using Siebel Operation Step in workflow, strangely we are facing one issue today.
In our Wf, we have 2 Siebel Operation steps continuously one after the other.
1) Siebel Operation to insert 1 record into table CX_EAI_LOG table.
If this step errors out due to one of the unique index in this table then the second step will come into picture. If no error it goes to other step.
2) Siebel operation to insert 1 record into same table CX_EAI_LOG table with just column value changed (as "Error").
But, when 1st step errors out and second step gets executed, the SQL generated is not having all the columns of the table. Hence it is getting errored out as "Required Field value missing".
However, if I check the configuration both the steps are having same input arguments in tools. I even tested passing all literal values to verify. But still the SQL is not having all the columns. In the log I could see all the values I passed from WF as literals, but SQL doesn't consists the columns for these values to insert.
Gurus, can you help me in figuring out why is this strange behavior?
Regards
Raj

Hi,
Actually the first Siebel Operation step is part of a solution which is designed to avoid the duplicate transaction.
Due to one unique index the first SO will fail, then in the second SO I insert the same record with status as Error. It means only 1 columns value will change.
But it seems the context of the first BC still persists.
I tried below options today, but no use.
1) After 1st SO, used SO without passing any search spec, so expect to refresh the BC with null query.But instead of triggering null query the SQL generated has all the values used in first SO, in WHERE clause. I don't from from where these values are being taken.
2) Created new WF, which consists only 1 SO to insert the second record. And called it from current workflow, passing all the values through process properties. But still the values are being used in this sub process are old values (same context).
Is there any other way to fix this.

Similar Messages

  • [ASK] Search Spec  Siebel Operation Step in Workflow

    Hi all,
    i have a question about search spec in Siebel operation.
    in workflow i have one siebel operation with method Query and the BC is EBC.
    in my EBC there is one column named Period that contaid date formated data.
    my requirement is, i need to get the record where the month in column Period is now Today() month -1
    example is today is 1^st August so the record will siebel select is all the Period in Month July.
    how the searchspec should i write?
    thanks and regards
    Willy Chiandra

    You can try something with JulianMonth, as described in: Querying a Date Field's Month, Day, or Year Value [ID 475570.1]
    1.To extract the Opportunities that has a close date in the past month:
    JulianMonth([Close Date]) = JulianMonth(Today()) - 1
    Beacuse it's a EBC you have to test and see if there is not a big performance impact.

  • Is there a limit to step types? "Insert step" doesn't show all step types.

    Hello,
    I am observing a weird behavior with TestStand 2.0. As soon as the number of step types that i created goes beyond 60, I can't see some of the steps in the "Insert Step" pop up dialog. It doesn't show the arrows at the top and bottom, as usually, and only shows 53 options to pick, even though there should be 61 items. If remove the step type I created last, I get all of the step types available to be selected. On the other hand, if I open the same files in version 4.1, all of the types are shown. Is there something I can do with version 2.0 to get over this issue?
    Thanks,
    Sam.

    Sam,
    I tried replicating this issue in TestStand 2.1 and saw a similar problem, though not exact.  I had enough step types to make two columns in the Insert Step pop-up dialog, but some of the steps before it broke into a new column did not show up.  I could still access those though using the arrow keys.  After using the mouse pointer to highlight a step type, you can use the arrow keys to navigate down into the part of the list that isn't shown on the screen and hit enter to insert the step.  If you know exactly where your step should be in the list, you can select it and insert it, but other than that, there's no other way around it.  As you noted, this was a bug in TestStand 2.0/2.1 and it was resolved in a later version, so this is no longer a problem with current versions of TestStand.
    Eric B.
    National Instruments

  • How to insert step to given position ?

    Hi,
    I have sequence with Select Case structure and want to insert steps within Case-End. How to do that ? I found that index of step can be readable by TS_SequenceGetStepIndex(SequenceHandle, &errorInfo, szTestType, TS_StepGroup_Main, &val), but how to insert new step after, for example Case ? For function TS_SequenceInsertStep (SequenceHandle, &errorInfo, actionStep, iNumofSteps, TS_StepGroup_Main) is not available index (iNumofSteps is zero and not work as index of step and can only apply for order of inserting of steps (first step on begin or to end)).
    Currently I create all (Select, Case, End and steps that need to be within Case-End), but if basic structure can be as default (including Select, case etc), only content need to be updated, not all construction.
    (CVI/LabWindows coding)
    best regards,
    branar
    Solved!
    Go to Solution.

    Hi All,
    Yes, it was right solution. Only thing is that need to take iNumofSteps for step before and if you want to insert new step (or steps), this index shold be increased by 1.
    error = TS_SequenceGetStepIndex (SequenceHandle, &errorInfo, "TuningTimeAfterLNA", TS_StepGroup_Main, &val);
    iNumofSteps=val+1;
    //add
    tsErrChkMsgPopup( TS_EngineNewStep (EngineHandle, &errorInfo, "", "Label", &actionStep));
    tsErrChkMsgPopup( TS_StepSetName ( actionStep, NULL, szTestType));
    tsErrChkMsgPopup( TS_SequenceInsertStep ( SequenceHandle, &errorInfo, actionStep, iNumofSteps, TS_StepGroup_Main ));
     best regards,
    branar

  • Insert performance issue with Partitioned Table.....

    Hi All,
    I have a performance issue during with a table which is partitioned. without table being partitioned
    it ran in less time but after partition it took more than double.
    1) The table was created initially without any partition and the below insert took only 27 minuts.
    Total Rec Inserted :- 2424233
    PL/SQL procedure successfully completed.
    Elapsed: 00:27:35.20
    2) Now I re-created the table with partition(range yearly - below) and the same insert took 59 minuts.
    Is there anyway i can achive the better performance during insert on this partitioned table?
    [ similerly, I have another table with 50 Million records and the insert took 10 hrs without partition.
    with partitioning the table, it took 18 hours... ]
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 4195045590
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 643K| 34M| | 12917 (3)| 00:02:36 |
    |* 1 | HASH JOIN | | 643K| 34M| 2112K| 12917 (3)| 00:02:36 |
    | 2 | VIEW | index$_join$_001 | 69534 | 1290K| | 529 (3)| 00:00:07 |
    |* 3 | HASH JOIN | | | | | | |
    | 4 | INDEX FAST FULL SCAN| PK_ACCOUNT_MASTER_BASE | 69534 | 1290K| | 181 (3)| 00:00
    | 5 | INDEX FAST FULL SCAN| ACCOUNT_MASTER_BASE_IDX2 | 69534 | 1290K| | 474 (2)| 00:00
    PLAN_TABLE_OUTPUT
    | 6 | TABLE ACCESS FULL | TB_SISADMIN_BALANCE | 2424K| 87M| | 6413 (4)| 00:01:17 |
    Predicate Information (identified by operation id):
    1 - access("A"."VENDOR_ACCT_NBR"=SUBSTR("B"."ACCOUNT_NO",1,8) AND
    "A"."VENDOR_CD"="B"."COMPANY_NO")
    3 - access(ROWID=ROWID)
    Open C1;
    Loop
    Fetch C1 Bulk Collect Into C_Rectype Limit 10000;
    Forall I In 1..C_Rectype.Count
    Insert test
         col1,col2,col3)
    Values
         val1, val2,val3);
    V_Rec := V_Rec + Nvl(C_Rectype.Count,0);
    Commit;
    Exit When C_Rectype.Count = 0;
    C_Rectype.delete;
    End Loop;
    End;
    Total Rec Inserted :- 2424233
    PL/SQL procedure successfully completed.
    Elapsed: 00:51:01.22
    Edited by: user520824 on Jul 16, 2010 9:16 AM

    I'm concerned about the view in step 2 and the index join in step 3. A composite index with both columns might eliminate the index join and result in fewer read operations.
    If you know which partition the data is going into beforehand you can save a little bit of processing by specifying the partition (which may not be a scalable long-term solution) in the insert - I'm not 100% sure you can do this on inserts but I know you can on selects.
    The APPEND hint won't help the way you are using it - the VALUES clause in an insert makes it be ignored. Where it is effective and should help you is if you can do the insert in one query - insert into/select from. If you are using the loop to avoid filling up undo/rollback you can use a bulk collect to batch the selects and commit accordingly - but don't commit more often than you have to because more frequent commits slow transactions down.
    I don't think there is a nologging hint :)
    So, try something like
    insert /*+ hints */ into ...
    Select
         A.Ing_Acct_Nbr, currency_Symbol,
         Balance_Date,     Company_No,
         Substr(Account_No,1,8) Account_No,
         Substr(Account_No,9,1) Typ_Cd ,
         Substr(Account_No,10,1) Chk_Cd,
         Td_Balance,     Sd_Balance,
         Sysdate,     'Sisadmin'
    From Ideaal_Cons.Tb_Account_Master_Base A,
         Ideaal_Staging.Tb_Sisadmin_Balance B
    Where A.Vendor_Acct_Nbr = Substr(B.Account_No,1,8)
       And A.Vendor_Cd = b.company_no
          ;Edited by: riedelme on Jul 16, 2010 7:42 AM

  • JDeveloper 10.1.2.3 Row Insert Update issue

    All,
    We have a problem we hope you can help solve, using JDeveloper 10.1.2.3.0 with JHeadStart 10.1.3.3.87 and its easy to reporduce and its a bad one.
    Create a simple web project > Create Entity/VO for one table > Enable JHeadStart >
    Use JHS to create Master Detail drill down single record
    Run app > Open Browser to the Master list > press button Create X to bring up a new row NOW open another browser TAB and do the same so we have 2 forms open in INSERT mode.
    Press Save on 1st tab to trigger the Insert - fine it reloads the form after commit and row is in the DB THEN switch to the other tab and submit that one > this one will overwire the record you entered 1st.
    This is bad and its happening often when we load the system with many users event without multiple (multiple tabs makes it easy to test) - trapping the doDML we expect the 2nd insert request to be DML_INSERT but we get DML_UPDATE. Depending on refresh setting on some attributes we will get error back JBO-25014 but if no refresh on insert update you still get the same issue only one row in db and 1st row gets over written.
    If you have any ideas what is going on and how to solve this ASAP that would be great.
    Thank you
    Anthony

    Steven,
    Thanks for the entry. Yes, we realized that the two-tab browser scenario was the same session. The thing that baffled us was why our test without JHS allowed two inserts in a two-tab, same session situation whereas with JHS, the second insert did an update on the first record committed. We suspected it had something to do with how the current row pointer in the view cache/entity cache was being handled.
    The main symptom we started with was that users in separate sessions in production are overwriting each other's records; and we agree with you, it is surprising but we can reproduce it when traffic is "heavy" (more than four users usually) or the operations are rapid fire -- less than a minute between User 1 inserting a record and User 2 inserting a record. The second user insert operation acutally updates user 1's record even though the data for both inserts is different.
    We switched EnableTokenValidation to "true" and this "fixes" the two-tab, single session situation -- the second insert presents a row currency JBO error (much better than overwriting the first record). In a two-user session scenario, the effect is worse with this setting: the second user trying to insert actually updates a different record from the record the first user just inserted.
    This seems to point to users sharing a view/entity cache and it seems like that might be an ADF or maybe an OC4J bug -- we are using datasources on OAS and an HTTPS protocol for this app.
    So next we are going to try using a database procedure that overrides the Save operation on new (and updated) records. If the database procedure sees a negative ID (from DBSequence) it will insert regardless of the current record pointer. If the database procedure sees a positive ID, it will update that record. I think we'll also need to roll back the CreateInsert that got us to the new record screen, too. Messy, yes, but if this effect is due to an ADF 10.1.3 bug, rewriting the app in 11g would take much longer.
    Our other ADF JHS 10.1.3 apps do not have this problem as far as we know, but they do not use datasources or HTTPS.
    Peter

  • Building a WebCenter Application Step by Step Issue

    I am experincing a problem with the code on page 60 of the Building a WebCenter Application Step by Step tutorial. Step 9 ask to insert content repository code in the SRWelcome.jspx JSF page (see below). When I run the page the ${pageContext.request.contextPath}${bindings['getURI_returnURI'].inputValue}" dose not work as expected. It should show the wecome.html page. However when the page is displayed the SRWelcome.jspx page which contains the refference code appear to loop back on it self thus repeatedly displaying inside the SRWelcome.jspx in the iframe.
    Has anyone experinced this problem?
    <f:verbatim>
    <iframe height="450" width="850"
    src="${pageContext.request.contextPath}${bindings['getURI_returnURI'].inputValue}"
    frameborder="0">
    </iframe>
    </f:verbatim>
    This is my JDev environment:
    ADF Business Components     10.1.3.41.57
    Java(TM) Platform     1.5.0_06
    Oracle IDE     10.1.3.41.57
    Embbed OC4J Sever Log Info:
    Jun 20, 2008 9:54:19 AM oracle.vcr.datacontrol.VcrDataControl invokeOperation
    INFO: Invoking data control operation getURI on instance SRContentRepository
    Jun 20, 2008 9:54:20 AM oracle.vcr.datacontrol.VcrDCDef getConnection
    INFO: Retrieving repository connection from ADF
    Jun 20, 2008 9:54:20 AM oracle.vcr.datacontrol.VcrDCDef getVcrSession
    INFO: Log on to the repository.

    I had the same problem. The SRWelcome.jspx page was recursively displayed inside the iframe. The cause is that the getURI method is not working correctly (refer to metalink note 470353.1). I could resolve this by applying patch 6447083 and recreating of the content repository afterwards.

  • Group Step issue in Workflow

    Hi,
    I'm facing a problem while using the Group step in workflow.
    After the Group step is over, i have used few validate and Assign steps and the a Process step.
    But as the workflow moves from Group to Process, all these steps are ignored.
    I tried entering a Process step immediately after the Group and then the validate Assign steps and then Process. This time it worked as I had inserted an extra Process step immediately after Group.
    Design which did not work: Assign 1 and Assign 2 did not get executed
    Group -> Assign1->Assign2->Process
    Design which worked:  Assign 1 and Assign 2 did not get executed
    Group -> Process ->Assign1->Assign2->Process
    But I cannot just simply enter one more Process step in between in the workflow, as it hinder the flow.
    Plz suggest a solution!
    Regards,
    Ketan

    Hi ketan,
    The assign step can be connected to the group step without any problem. But i do not know why it is failing in your case.
    But if it so, try putting a merge step after group. As merge is an Automatic step, that will allow you to remove the Extra Process stencil that you have added( in order to make your Workflow work). Merge will not require any action from you.
    Then connect your assignments steps to the merge Step.
    Note- Merge will not get connected to Validate step, if in case it is required by you.
    I hope it helps.
    Please reward points if found useful.
    Thanks and Regards
    Nitin Jain

  • Condition step issue in a workflow

    Hi Gurus,
    I have a condition in my workflow which checks for an attribute value of he business object if its equal to 'X' based on which it takes two different paths for 'yes' or 'no'. I find it always takes the 'no' path irrespective of what is the value of the attribute whether 'X' or space. I have done this kind of steps many times in the past and never had an issue like this.
    I check the attribute value gets populated well in the container.
    Has anybody faced this ind of issue, great if some body can tell if I am missing on any thing. I am on ECC6.0
    Any help will be highly appreciated.
    Thanks
    Sasi

    Hi,
    say your attribute as 'flag'
    and you are trying to check  flag = X   yes then do something,
    for No do something else
    check whether flag is populated correct and bindings are done correctly.
    Kind Regards
    Hari Sankar M

  • Bulk insert task issue

    I Have table,It contains 4 millions records,I want load data into Sql Server table using Bulk Insert task.
    How can i load data using Bulk Insert task.Bulk insert task supports only text source.
    Thanks in Advance.

    If its a sql server table to table transfer You can use data flow task with OLEDB Source and destination. In the OLEDB destination use
    table or view - fast load option as the data access mode. 
    Also if databases are in same server you can even use Execute SQL task with statement like
    INSERT INTO DestTable
    SELECT *
    FROM SourceDB.dbo.SourceTable
    which will be set based
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Operation not permitted issue

    I have created a form using livecycle that allows an end user to fill in the data, save, and attach as an e-mail to return to me (I extended features in pro to be able to save the filled in pdf). The form works great except for one issue. During test modes, when I e-mail the form to myself or to other pc users and they download the form to open it with adobe reader x, the pdf displays a message right away that says "Operation Not Permitted." If you click on the pop window twice, the box goes away and you can proceed as normal (filling out the form and submitting). I tested this with a mac user and she didn't have that box pop up.
    My question is how do I stop that box from popping up?
    I originally began noticing the issue during the editing/collaboration stage of building the form when I highlighted, with the highlighter tool. After removing those remarks is when I started to notice this message appearing when the form is e-mailed.
    Can someone please give me some advice?
    Thank you
    X

    Hi Hemgr,
    Thank you for your response. These forums are specific to the
    Acrobat.com website and its set of hosted services, and do
    not cover the
    Acrobat family of desktop products. Please visit the
    following forums
    for any questions related to the Acrobat family of desktop
    products:
    http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/

  • XI: Alerts - Step by step issue

    I am going through Michal Krawczyk's blog XI: Alerts - Step by step
    Michal Krawczyk and between step 4 and step 5 I run up against an issue.  I cannot save it because I get a popup saying "Prompt for customizing request" then I click the list button and it says " You can only include objects of this type in customizing requests only" ( a little redundant I must say ) but anyway - the net result is I can't save and lose all the work I just did.
    Any help would be greatly appreciated!
    Thanks - Andrew

    Scott,
    It actually means you need to have an request no. for developing alerts.
    So when you prompt with this message just click on Own request and create a new request. Then you enter description and come out. Then once again you try to save. Then it asks for the request. Then just click on F4. It will show you the request what you have created earlier. Then just click on it.
    Then it will allow to save. Hope this helps.......
    ---Satish

  • XI: Alerts - Step by step issue " Prompt for customizing request"

    I am going through Michal Krawczyk's blog XI: Alerts - Step by step
    Michal Krawczyk and between step 4 and step 5 I run up against an issue.  I cannot save it because I get a popup saying "Prompt for customizing request" then I click the list button and it says " You can only include objects of this type in customizing requests only" ( a little redundant I must say ) but anyway - the net result is I can't save and lose all the work I just did.
    Any help would be greatly appreciated!
    Thanks - Andrew

    Scott,
    I have replied in your another thread for this issue. I request you to please make one thread only so that it will not confuse you and the SDNers.
    ---Satish

  • Siebel Operation - Query

    Hi All,
    I am using Siebel Query operaion in one of the workflow steps, where I want to query on BC for multiple field value.
    For eg: I have Field values for Row_Id is 333-X and 334-Y , I want to Query on BC and want to return records with Row_id 333-X and 334-Y.
    I used search expression to build query,but no use.
    [Id] = '333-X' OR [Id] = '334-Y'
    Expedite a response.
    Thanks in advance.

    If you are using the "Query" method of the BS "EAI Siebel Adapter" in your WF
    then you can set the user prop on the Input Integration Object that you use.
    Integration Object User Prop:
    Name: ViewMode
    Value: All
    Axel

  • Workflow BRANCH Step issues...

    Hi Guru's
    For Branch step as per Dataref guide we can have "n"  no of validations..
    But when i add more that 4 validations and try to connect this to next step..system gives me an error ...
    Step " Notify is not connected properly"...What is this ..I mean the connection is correct ...Then why is this doing ..
    Is there a llimitation to this...
    Does anyone knows about this?
    Regards
    Vikrant M Kelkar

    This is resolved now..Issue was I didnt complete the step ..
    I had linke notify step after Branch and had forgot to attach stop step..
    Silly mistakes ..But learning now..
    Thanks to all who have took effort in reading this thread..
    Regards
    Vikrant M Kelkar..

Maybe you are looking for