How to make decision while invoking SOA workflows

Hi,
I have a created a SOA composite. This SOA Composite contains 4 level of approval.
Now I want that the decision to execute the SOA composite approval process should be defined in some other file from where I can read the information and execute those level of approval.
For Eg. I want to check if the user org is A then get the value of approval levels from the flat file and then execute only those approval levels in Composite.
Please let me know if this is feasible and how to achieve this.
Thanks

Yes, I retrieve data from database. Retrieving invocation is placed in getValue method of model. When there is no value in cache then I request data from server and wait for response. Else I get data from cache immediatly and everything is fine.
And you were partially right. In cases where I use manual repaint there was call from EDT. I replaced it by new Thread(...) and it helped. But repaint can be done automatically by Swing when user for example scrolls JTable and in this case I have to wait in EDT while get something to display. In this situation it would be great if independent repaint for JProgressBar can occurr. :(

Similar Messages

  • How to make a restart of the workflow in a process controlled workflow?

    Hi Experts,
    How to make a restart of the workflow in case of process controlled workflow? Scenario is like this:
    The user has created a shopping cart with 1000 USD. The process schema has three process level with the first level being approval with completion.
    The first level being executed by the responsible purchaser. Here, the purchaser adds the source of supply and changes the price of the shopping cart 2000 USD and approve the shopping cart.
    Now, I want the approval task to start from beginning so that the requestor can know the changes and accept/reject the changes.
    Thanks and regards,
    Ranjan

    Hi,
    Restarting workflow goes to 1st level approval step. It is not requester.
    I think you need to set condition for "Acceptance by Contact Person" in Define Process Level.
    Regards,
    Masa

  • Process Chain - How to make decision based on data in PSA and execute DTP

    Need to create process in Process Chain, which will execute the DTP based on data in PSA.
    Say we have two DSO A & B, both getting data from same datasource.
    In process chain, we need to read data in one of the date field in PSA and make a decision, which DTP to get execute in process chain.
    Say if date field contains year = 2000, than load to DSO A, if year is 2001, load data to DSO B.
    Suggest the solution. ...

    Hi,
    Tyr this steps.
    1) Develop ABAP process types
    ABAP report to read PSA data using function module
    Trigger events based on year
                           event1 -> for even year data
                           event2 -> for add year data
    2) Develop local process chains for each DTPs and schdule it with events mentioned above.
    Do reply with comments.

  • How to realize timeout while invoking a method in remote sesssion bean using my session bean running on wls5.1

    I am using WL5.1 SP11 on a project. I have a stateless session bean inside which
    I will invoke a method defined in another stateless session bean in a remote weblogic
    server 5.1. The performance of the remote server is very low and sometimes when
    I invoke the method through RMI, I got to wait for a long time. So I want to set
    a timeout for my session bean while doing RMI call. The only parameter I could
    find in weblogic-ejb-jar.xml is the "transaction-timeout", but even if I set transaction
    attribute for my session bean, it always block there to wait for the response
    from the remote session bean. The configuation did not work.
    Is there any other solutions to my problem? Please give me some advice if anyone
    has experience on it, Thank you very much.

    I am using WL5.1 SP11 on a project. I have a stateless session bean inside which
    I will invoke a method defined in another stateless session bean in a remote weblogic
    server 5.1. The performance of the remote server is very low and sometimes when
    I invoke the method through RMI, I got to wait for a long time. So I want to set
    a timeout for my session bean while doing RMI call. The only parameter I could
    find in weblogic-ejb-jar.xml is the "transaction-timeout", but even if I set transaction
    attribute for my session bean, it always block there to wait for the response
    from the remote session bean. The configuation did not work.
    Is there any other solutions to my problem? Please give me some advice if anyone
    has experience on it, Thank you very much.

  • URGENT:how to make adjustments while upgrading from 4.6c to ECC6.0

    Hi experts,
    I have few queries regarding technical upgrade project from 4.6c to ECC6.0 ; Can anyone clarify t he following doubts.
    After completion of SPDD & SPAU adjustments,we are adjusting custom objects to unicode compatible. while doing this
    1. How to take care about SCRIPTS,REPORT WRITERS  ABAPQUERIES and SAPQUERIES
    2. Can we start testing standard Tcodes after completion of SPDD & SPAU adjustments.
    thanks in advance.
    helpful answers will be rewarded.
    BR,
    Sastry.
    Edited by: prssastry on May 24, 2008 10:03 AM

    Thanks Geetha,
    Can anybody tell me the ABAPer role in the technical upgrade .
    After completion of SPDD & SPAU adjustments,we are adjusting custom objects to unicode compatible. while doing this
    1. How to take care about SCRIPTS,REPORT WRITERS ABAPQUERIES and SAPQUERIES
    2. Can we start testing standard Tcodes after completion of SPDD & SPAU adjustments.
    thanks in advance.
    helpful answers will be rewarded.
    sastry.

  • Workflow, How to make the attached SAP shortcut linked to a webgui t-code ?

    How to make the attached SAP shortcut linked to the webgui ? (Instead of the SAP Gui )
    When I received a "workflow msg" in my outlook inbox, I clicked on the attached shortcut.
    And a logon pop-up comes to me, in order that I logon to SAP in the SAPGui mode.
    It enables me to make a decision in SAP.
    I'd like that when the user receive the shortcut ( or a link ), it opens the webgui mode ?
    How can I do that ?
    Thx a lot,
    Erwan

    thx

  • How to make column headers in table in PDF report appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp

    Hi my name is vishal
    For past 10 days i have been breaking my head on how to make column headers in table appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp.
    Given below is my code in c# on how i export datas from different tables in sql server to PDF report using iTextSharp:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    using System.Diagnostics;
    using System.IO;
    namespace DRRS_CSharp
    public partial class frmPDF : Form
    public frmPDF()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(6);
    table.TotalWidth =530f;
    table.LockedWidth = true;
    PdfPCell cell = new PdfPCell(new Phrase("Institute/Hospital:AIIMS,NEW DELHI", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK)));
    cell.Colspan = 6;
    cell.HorizontalAlignment = 0;
    table.AddCell(cell);
    Paragraph para=new Paragraph("DCS Clinical Record-Assigned Dialyzer",FontFactory.GetFont("Arial",16,iTextSharp.text.Font.BOLD,BaseColor.BLACK));
    para.Alignment = Element.ALIGN_CENTER;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(105f, 105f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn = new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select d.dialyserID,r.errorCode,r.dialysis_date,pn.patient_first_name,pn.patient_last_name,d.manufacturer,d.dialyzer_size,r.start_date,r.end_date,d.packed_volume,r.bundle_vol,r.disinfectant,t.Technician_first_name,t.Technician_last_name from dialyser d,patient_name pn,reprocessor r,Techniciandetail t where pn.patient_id=d.patient_id and r.dialyzer_id=d.dialyserID and t.technician_id=r.technician_id and d.deleted_status=0 and d.closed_status=0 and pn.status=1 and r.errorCode<106 and r.reprocessor_id in (Select max(reprocessor_id) from reprocessor where dialyzer_id=d.dialyserID) order by pn.patient_first_name,pn.patient_last_name", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("Reprocessing Date");
    table.AddCell("Patient Name");
    table.AddCell("Dialyzer(Manufacturer,Size)");
    table.AddCell("No.of Reuse");
    table.AddCell("Verification");
    table.AddCell("DialyzerID");
    while (dr.Read())
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString() +"_"+ dr[4].ToString());
    table.AddCell(dr[5].ToString() + "-" + dr[6].ToString());
    table.AddCell("@count".ToString());
    table.AddCell(dr[12].ToString() + "-" + dr[13].ToString());
    table.AddCell(dr[0].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    System.Diagnostics.Process.Start("AssignedDialyzer.pdf");
    if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.Yes)
    var writer2 = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    else if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.No)
    this.Close();
    The above code executes well with no problem at all!
    As you can see the file to which i create and save and open my pdf report is
    AssignedDialyzer.pdf.
    The column headers of table in pdf report from c# windows forms using iTextSharp are
    "Reprocessing Date","Patient Name","Dialyzer(Manufacturer,Size)","No.of Reuse","Verification" and
    "DialyzerID".
    However the problem i am facing is after execution and opening of document is my
    column headers in table in pdf report from
    c# and datas in it all appear in bold.
    I have browsed through net regarding to solve this problem but with no success.
    What i want is my pdf report from c# should be similar to following format which i was able to accomplish in vb6,adodb with MS access using iTextSharp.:
    Given below is report which i have achieved from vb6,adodb with MS access using iTextSharp
    I know that there has to be another way to solve my problem.I have browsed many articles in net regarding exporting sql datas to above format but with no success!
    Is there is any another way to solve to my problem on exporting sql datas from c# windows forms using iTextSharp to above format given in the picture/image above?!
    If so Then Can anyone tell me what modifications must i do in my c# code given above so that my pdf report from c# windows forms using iTextSharp will look similar to image/picture(pdf report) which i was able to accomplish from
    vb6,adodb with ms access using iTextSharp?
    I have approached Sound Forge.Net for help but with no success.
    I hope anyone/someone truly understands what i am trying to ask!
    I know i have to do lot of modifications in my c# code to achieve this level of perfection but i dont know how to do it.
    Can anyone help me please! Any help/guidance in solving this problem would be greatly appreciated.
    I hope i get a reply in terms of solving this problem.
    vishal

    Hi,
    About iTextSharp component issue , I think this case is off-topic in here.
    I suggest you consulting to compenent provider.
    http://sourceforge.net/projects/itextsharp/
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to limit the response rows while invoking a stored procedure from OSB 10gR3

    Dear Experts,
    I am trying to limit the response while invoking a stored procedure from OSB via DB adapter.
    Here the stored procedure returns cursors as response. I tried using the MaxTransactionSize propertiy (which is used for polling the database option in DB adapter).
    We are investigating the ways to protect the application from response containing huge number of rows.
    Is there any way to restrict the number of rows returned in each and every cursor while invoking the stored procedure via DB adapter?
    Thanks
    Ram

    Hi James ,
    I want to know how to run stored procedure using jca adapter in OSB11g.
    I am new to stored prcoedure,will be great if you could share some example on it as above.
    Req: Single input xml will be posted on queue ,need to perform 3 DB operation (with same input):
    1.Insert operation to insert master table contents.
    2.select the primary key column value from master table for the last inserted record.
    3.Need to insert primary key column value + other fields frm same xml file to child table.
    Pls assist me on how to create a simple stored procedure and to run the same with OSB 11g.I am familiar with creation of DB adapter using Jdeveloper,we have option to perform insert and to call stored procedure here,will it be useful for this scenario?
    Edited by: Anitha R on Nov 21, 2010 9:30 PM

  • How to specify file name while invoking the GET_ZIP_BUNDLE service

    Hello.
    The GET_ZIP_BUNDLE service by default generate zip file with name "Bundle". I wanted to change this name runtime, that is while invoking this service. How can I do it?
    The class ziprenditions.ZipRenditionsHandler most probably handle this service by the method createRenditionBundle.
    There I saw a line:
    downloadName = LocaleResources.getString("csZipRenditionBundleName", this.m_service);I have tried to print the value of csZipRenditionBundleName and I got "Bundle". I am wondering is there any way to set a value to this message key?
    I have tried this idoc function:
    <$createRenditionBundle='some_name'$>before invoking the service. But this didn't work.
    Also I have tried to change it from Java class, and for that I have defined a custom service and did:
    LocaleUtils.encodeMessage("csZipRenditionBundleName", null, "JYM");But this also not working.
    What I want is to get the zip file with the name which is the same to the files it is archiving.
    For more information, here is how I am invoking the GET_ZIP_BUNDLE service:
    I have defined a form element:
    <form action="/cs/idcplg" method="POST" id="zipBundleForm" name="zipBundleForm">
       <input type="hidden" value="GET_ZIP_BUNDLE" name="IdcService">
       <input type="hidden" value="pkg:dDocName,pkg:dID,pkg:Rendition,pkg:RevisionSelectionMethod,pkg:AuxRenditionType" name="bundleKeys">                            
    </form>And I have a button with id downloadContent and I have attached the following JavaScript with it:
    $('#downloadContent').click(function (event){
       event.preventDefault();
       var formId = "zipBundleForm";
       var counter = 0;
       var renditionType = "";
       $("#zipBundleForm").find(":hidden").each(function() {
          if($(this).attr("name").startsWith("pkg:"))
             $(this).remove();     
       $("#downloadContentForm").find('input:checkbox:checked').each(function() {
          renditionType = $(this).val();
          $(".thumbnails").find('input:checkbox:checked').each(function() {
             if($(this).attr('data-type') == 'image'){
                createHiddenInputElement(formId, "pkg:dDocName" + counter, $(this).attr("name"));
                createHiddenInputElement(formId, "pkg:dID" + counter, $(this).attr("id"));
                createHiddenInputElement(formId, "pkg:Rendition" + counter, renditionType)
                createHiddenInputElement(formId, "pkg:RevisionSelectionMethod" + counter, "Specific");                                             
                counter++;     
       $("#zipBundleForm").submit();     
    var createHiddenInputElement = function(formId, elementName, elementValue){
       var newElement = document.createElement("input");
       newElement.setAttribute("type", "hidden");
       newElement.setAttribute("name", elementName);
       newElement.setAttribute("value", elementValue);
       $("#"+formId).append(newElement);
    }Thanks in advance.

    if you want a fixed bundle name other than "bundle", you can override the localization string entry 'csZipRenditionBundleName' in a component.

  • How to make PO reject in workflow.

    Hi experts,
    I have finished multi-level PO release in workflow with WS20000075 and some self configuration, but fail in PO reject with WS65400030 (multi-level).
    How to make it?
    thanks.
    HERO

    Hello ,
    Yes, please use template WS200000075, and after the initial task TS2000016,
    The outcomes are either Po Release, PO Rejected or PO chnaged significantly,
    Use the task TS20000167, it is defaulted so there is no way you cannot see it, it would say "Release of PO Cancelled", you could use this for further action

  • How to override the expiration time in SOA Workflow OIM?

    Hello everyone,
    I am working on SOA Workflows to develop the Approval Process in OIM 11g R2 PS1.
    I have a requirement as follows:
    The request should escalate after 3 days of the request submission to the approver's manager. This configuration i have done in 'Deadlines' , Escalate after and given the duration also.
    But this request should not expire after escalation. So, right now its escalating after 3 days but again after 3 days it is getting expired(i.e. on 6th day).
    I have to override this expiration with 'Never expire'. How can I achieve that? Any idea?
    Regards,
    Neha Gupta

    Thank you, that was it!
    I left the Time-to-Live Override to the default value -1. The new expiration time kicked in after I set it to the right value.
    Thanks again.
    Hong

  • How to make the exchange of data between 2 while loop in real time

    hello
    I have 2 while loop
    the 1st while loop includes the data acquisition program
    the 2nd while loop includes the control program
    my question is how to make the exchange of data between 2 while loop in real time
    I tried with the local variable and direct wiring between the 2 while loop
    it does not work (there is a delay)
    Solved!
    Go to Solution.

    Bilalus,
    Queues are only good to transfer data if your application isn't deterministic. Since you are using Real Time, I am assuming that your application requires determinism. If you are using Timed Loops and you use queues to transfer data between your loops, you are losing determinism. In this case, you need to use the RT FIFO functions. 
    Warm Regards,
    William Fernandez
    Applications Engineering
    National Instruments

  • While using mac as wireless router ; How to make Mac sleep?

    Hi all.
    I set up my macbook to act as a wireless router [sharing it's wireless signal, via the "Sharing" settings in System Preferences]
    using this guide
    http://www.macinstruct.com/node/118
    I am wondering how to make my mac sleep while this wireless-sharing setting is enabled?
    Since I have enabled this setting, the mac will not sleep, however, the mac will sleep when I disable it.
    I am also wondering ; [if it is possible to make the mac sleep while this setting is enabled], can I still use the mac as a wireless router even while it is asleep?
    Or does it need to be awake to function as a router?
    Thanks very much in advance for any help!

    Thank you very much everybody for your answers.
    Dominic23
    and
    BobTheFisherman
    Yes, I kind of thought what you are saying would be the case.
    It makes "sense" that when the computer is asleep, so are all it's functions,
    but I *WISH* there was an option to keep the airport functioning even while the computer is asleep.
    Bob, I don't think having the OPTION to leave the airport on while mac sleeps would defeat the power-saving feature of the computer (:
    I know the "best" way to share wifi is with a router, but for me, a router just another piece of plastic I don't need. All I need to do is share wifi in a small space [my room] from my mac to my iPad and ipod touch.
    I like to use my ipad as a reader, and when I am reading, I may be sitting down for many hours just reading from the ipad. It doesn't make sense to leave the mac running during these long periods just for a wireless signal, so I may sadly buy a router ):
    Anyway, I get what you are all saying, and thank you for telling me the current limits of this function.
    Cheers! (:

  • How to make reason code compulsory while processing F-53

    Hi Boss,
    Can u plz. tell me How to make reason code compulsory while processing F-53. this is because I have defined differnet reason code and one is having blank text.
    Thanks
    S

    hi,
    Just check this one dont check previous one....
    goto TCODE OBC4 and then click on ur company FELD status variant and double click on field status group ....
    Then click on G067 RECONCILTION ACCOUNTS and then double clickn that in that and then click on payment transactions and then select REASON CODE AS REQUIRED.
    ur problem will solve...
    if useful assign points
    regards,
    santosh kumar

  • How to make the workflow available for Contract Template ? CLM

    Hi expert,
    It seems that no workflow can be defined in the Library Item Phase Configuration .
    The customer needs the approval workflow for the contract template also ,so does anyone know how to make it
    possible with configuration or Dev ?
    Your help is highly appreciated !
    Thanks a lot !
    Regards,
    Lilian

    Refer :
    7 Component Configuration Dependencies
    http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/core.902/a92171/compdep.htm#1008620
    Web Cache
    http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/core.902/a92171/compdep.htm#1016697
    3.2.2 MIDTIER OPCA Mode
    http://portalcenter.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/CONFIGHTML/cgbasic.htm#1008246
    - Senthil

Maybe you are looking for

  • Itunes wont install on vistax64

    i tryed to upgrade it but that failed so i tryed to uninstall and then try to reinstall but no it has an error and wont install at all i need help its says the installer encountered errors before itunes could be configured. your system has been modif

  • Discussion pages not loading

    I have seen the posts regarding the outages of this forum, and wanted to add my 2 cents. I've been able to get in, then when I try to reply to a post, Safari's "wait" icon spins and spins, then it fails with a message like "network connection lost."

  • Content Switch 11503 http keepalive

    Is it possible to look for the http code 200 (OK) and use this as a keepalive ? eg, if the error code 404 for example is found, then the service is taken down.

  • How to play back AVCHD video files without jerkiness result?

    Hi all, I have an iMac 27" 3.06Ghz as well as the new MacBook Air 13 1.86Ghz, and both have 4GB of RAM. When I tried to play back AVCHD video files (*.mts) recorded from my Canon HF200 HD camcorder, the play back is always jerky and choppy. I have tr

  • Proximity sensors not working in lumia 520

    My proximity sensors not working during calls . Pls help me fix the bug. I updated from amber to lumia black