Multiple Step Task

Hi all
How can i create Multiple Step Task  in UWL? Please help.
Regards
Priyanka

Hi Priyanka,
Please refer to following help guide:
http://help.sap.com/saphelp_nw04/helpdata/en/44/fabc8f905a0485e10000000a155369/content.htm
Regards
Anjali

Similar Messages

  • How do i select multiple steps and move them?

    Hi everyone! I'm trying to select multiple steps and move them all into a branch of a condition outcome. Here's the thing, I have almost completed my workflow with several steps for dynamic approval, however, i need to put a condition at the very start of the workflow and it does not seem that there is an easy way to move all of the steps into one branch. I find the workflow explorer really clumsy in this respect. Is it easier to just drag one outcome of the condition, say to the very end of the workflow? It does not seem to work for me though...hmmm...
    Thanks and generous points will be awarded!

    Funtion Module 'SWD_GET_WORKFLOW_DEFINITION ' gives the structure of the Workflow definition. The informations are stored in following table.
    1. SWDSTEXT -> Table which gives WF Steps and descriptions
    2. SWDSBINDEF --> Binding information is stored in this table
    3. SWDSMNODES -> All nodes information is stored in this table
    4. SWDSMLINES -> Workflow lines are stored in this table.
    <b>SWDSMLINES</b> and <b>SWDSMNODES</b> are important tables for current requirement. By changing <b>SWDSMLINES</b> the bulk copy and paste can be incorporated. But this is <b>very very risky</b>, better to have a backup of workflow definition before doiing anything.
    Any enthuiasts to write code for a unitlity to move multiple steps ?

  • Spawning multiple approval tasks in parallel in OIM11g SOA Composite

    Hi,
    We are trying to implement the following scenario.
    1) We are trying to develop a SOA composite for AD Group Access
    2) The request dataset contains a child table for AD User Group Details which is as follows.
    <AttributeReference name="AD User Group Details" attr-ref="UD_ADUSRC" type="String" length="20" widget="text" available-in-bulk="true">
    <AttributeReference name="Group Name" attr-ref="Group Name" type="String" length="400" widget="lookup" available-in-bulk="true" lookup-code="Lookup.ADReconciliation.GroupLookup" primary="true"/>
    </AttributeReference>
    3) Consider the user is already provisioned to AD.
    4) User now tries to request for AD Group Access by using a request template
    5) The request dataSet for the resource "AD Group Access" will be displayed where the user would "Add" the group(s) to which (s)he want access.
    6) Once the request is sumbitted the associated SOA composite would be executed.
    7) Now, in the SOA composite the logic should be as follows:
    a. For each group selected, there is a corresponding dataApprover who should approve the request.
    b. Once the dataApprover approves the request it goes to the next approver who is securityApprover.
    c. Once the securityApprover approves the request, the request should go thru and the user should get the membership in the AD Group.
    d. Since "AD User Group Details" is a child form in the request dataset, the user can add multiple groups in the same request.
    e. If there are muliple groups selected in the same request, then the same request should spawn parallel approval tasks for all corresponding dataApprovers and securityApprovers.
    f. Then the user should get membership to those AD Groups for which the corresponding dataApprover and securityApprover had approved the request.
    e. If a dataApprover or securityApprover rejects the request then the user shouldn't get membership to the respective group. However, this shouldn't prevent the user from getting membership to other groups for which dataApprover-securityApprover approval was done.
    The dataApprover and securityApprover for the groups are stored in a db table mapping to the corresponding group name.
    We have implemented a SOA composite for which the logic is fine if we add only one group in the child table of request dataset. As per the current implementation, when a user submits the request, the dataApprover and securityApprover for the selected group are fetched from the table and the global variables in SOA composite are set with the ID of dataApprover and securityApprove using setVariableData. These are sting variables. These variables are used in the approval task. The approval task has two "Single Type" participants - dataApprover and securityApprover. These participants fetch the value of dataOwner and securityOwner from the global variables set using setVariableData.
    Now, as mentioned above, if mutiple groups are added like group1, group 2 etc. then there should be multiple approval tasks spawned in parallel that will be approved/rejected by dataApprover1-securityApprover1, dataApprover2-securityApprover2 etc. Depending on the output (approve/reject) the user should get membership to appropriate groups.
    Any inputs on how to modify the current composite to spawn multiple approval tasks in parallel depending on the number of groups added from the requestDataSet would be helpful.
    Regards,
    Swaroop

    Single request id then you are bit safe. The way to do it would be:
    1. Set the dataApprovers as a comma separated list of all the data approvers for all the groups.
    2. Set the securityApprovers as a command separated list of all the security approvers for all the groups.
    3. In Human Task assign the first stage to all the dataApprovers and second stage to securityApprovers.
    Cons of this approach are:
    1. All the approvers would see all the data and they might be confused what they are approving.
    2. securityAppprovers for say group1 won't get the item untill all the dataApprovers approve the request even though dataApprover has approved the request for group1.
    3. Would be hard to implement the rejection cases; depending upon how you want to handle the rejections. For e.g. what if any dataApprover rejects the request? Should the whole request be rejected? If so what would happen to those which have already been approved by dataApprovers? Same case goes for securityApprovers. Again since you cannot modify the requested data once the request is submitted; thus you cannot remove the rejected groups from the request.
    4. You provisioning won't trigger untill all dataApprovers and all securityApprovers have approved the request.
    5. Any one approve from comma separated list of approvers would approve the request. Thus you cannot make sure that all the approvers should approve the request. The workaround would be to create parallel stages in human task and assign one group/approver to one parallel stage. This would mean that you will have to hard code the number of parallel approvals which can be generated in your BPEL human task (This would again depend upon the number of groups requested). To workaround this you could use BPEL extenal routing program where you can pragmatically assign tasks but again since there is no entitlement based request engine in OIM, thus there would be issues there too.
    As a workaround, make sure that you allow only one group to be requested per request and reject the request outright if multiple groups are requested in a single request. You will need to buy in the business on this one.
    Have heard the grapevine that 12G which is in the pipeline would have entitlement based request engine and also would allow for modification of request data once the request is submitted.
    HTH,
    BB

  • Single Spool for multiple steps

    Hi,
    I have a requirement, where in for multiple steps in a job i need single spool.
    Single spool is created for multiple steps when i am running the back ground job with my user id. The problem is when running the same job with the batch user id, more than one spool is created. I have checked the settings of the batch id and even marked it as dialog user still more than one spool is getting created.
    Pls let me know why this problem is happening.
    Thanks,
    Raju

    Check the user profile (SU01) of your batch user, "output immediately" should be deactivated. Also check the print parameters in the job steps, "new spool request" should be deactivated.
    I haven't tried this in a while, but the answer should be somewhere around these settings.
    Thomas

  • Schedule a Job with multiple steps via ABAP Program

    Hi Friends,
    I want to create a report(Ex: ZREP) that will run another program(Ex: ZPGM) in background. What I need to do is, when I execute the report ZREP it should run the ZPGM automatically in background. This background execution should happen through JOB with multiple steps.
    Why i am mentioned steps is, i have 1000 records in ZTABLE and need to execute 100 records each in one step and need to proecess in ZPGM with selection parameters. So in my case my job should create with 10 steps and need to execute in sequential manner.
    FYI, In the ZREP selection screen i need to enter the records count/ interval to derive the job steps.
    Please guide how to go ahead? Thanks in advance for all the help.
    Regards,
    Raghu.

    Hi Raghu,
    You can try the following pieces of code:
    Loop at gt_table.   "This table contains 100 records previously appended
    w_jobname = c_job_emision   "Job Name.
        CALL FUNCTION 'JOB_OPEN'
          EXPORTING
            jobname          = w_jobname
          IMPORTING
            jobcount         = w_jobacount
          EXCEPTIONS
            cant_create_job  = 1
            invalid_job_data = 2
            jobname_missing  = 3
            OTHERS           = 4.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    * Perform or create T_SELTAB with parameters options
    PERFORM Create_seltab_table.
    *Call second program.
    SUBMIT ZREP WITH  SELECTION-TABLE t_seltab AND RETURN.
    *Close Job.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = w_jobacount
            jobname              = w_jobname
            strtimmed            = c_x  "Immediate Start
         EXCEPTIONS
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5
            job_notex            = 6
            lock_failed          = 7
            OTHERS               = 8.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    ENDLOOP.
    Hope this helps.
    Regards
    Ernesto
    PS: Raymond Giuseppi was faster.
    Edited by: Ernesto Caballero on Mar 10, 2010 1:57 PM

  • Information About Session , Steps , Task

    Hi ,
    After execution of any scenario - I want to Insert / Update the session ID in target table for each record.
    Let's say 100 records are updated and 50 are inserted today as result of execution of any IKM.
    now I want to update session ID on all these inserted and updated record. What's the preferred way of doing it?
    Secondly - If it's updated / Inserted as a step / task of IKM - should I update Task ID / or session id ?
    Cheers

    Hi
    You have 2 ways :
    1)
    In your target table, create a field that will contain this session ID.
    You have the choice :
    * only 1 field : it will be updated if needed
    * 2 fields : 1 for the insert row, 1 for the update
    In your interface, mapp the field(s) with the following mapping :
    <%=snpRef.getSession( "SESS_NO" )%>
    (if you have 2 fields, beware of the insert/update flags)
    2)
    You can also modify your IKM to do it automatically :
    * create an option in your IKM that will receive the name of the column
    * in the "insert new rows" step and the "update row" step, add <%=snpRef.getSession( "SESS_NO" )%> at the end of the statement

  • Restrictions on using multiple user tasks in parallel ?

    Hi there,
    are there any restrictions on creating / managing multiple user tasks sequentially or in parallel in a BPEL process ?
    Sometimes my BPEL engine (OC4J/2.0.11) generates an error about "unregistered object ..." and the BPEL process failes.
    The BPELConsole then is not able to display the process state anymore.
    Thanks,
    Wolfgang

    There should be no restriction on how many task you can run in parallel. The only requirement is to use distinct partnerLinks (the partnerLink is statefull and embedded the correlation information).
    If you are combining flowN and tasks, you can achieve this by using local partnerlink (not supported by the designer but supported by the engine so a local partnerlink can be added to the process using the XML source representation of the BPEL).
    -Edwin

  • Running multiple awaited Tasks in order

    I am creating an app that requires to execute multiple awaited tasks in order or else the out come is disastrous.
    This current method executes all awaited task almost at the same time. Sometimes the Speech synthesizer runs before the stream is finished being generated or even before the rss feeder data is finished loading.
    here is my code
    private async void RSSreader()
    SyndicationClient client = new SyndicationClient();
    Uri feedUri = new Uri("http://api.breakingnews.com/api/v1/item/?format=rss");
    feed = await client.RetrieveFeedAsync(feedUri);
    foreach (SyndicationItem item in feed.Items)
    RSSFEEDBOX.Text = RSSFEEDBOX.Text + "\n" + item.Title.Text + ".";
    // Read Text From Text Box RSSFEEDBOX
    stream = await Sn.SynthesizeTextToStreamAsync(RSSFEEDBOX.Text);
    TextPlayer.SetSource(stream, stream.ContentType);
    TextPlayer.MediaEnded += TextPlayer_MediaEnded;
    TextPlayer.Play();
    Rogelio Rios

    The problem is that you have used 'async void'. You should not use 'async void' for methods/functions.
    Change your method's signature to:
    private async Task RSSReader()
    And of course this method should be called asynchronously.
    I'm a self-taught noob amateur. Please take this into account when responding to my posts or when taking advice from me.

  • Trace Stack Error - Multiple step operation generated errors

    When importing a mapping table into Financial Data Management, I received an error code 2147217887 multiple-step operation generated errors. Check each status value. I was exporting a mapping table from our development application into our production application, so I am not sure what caused this error message. Any ideas would be greatly appreciated. Thank you.

    I solved this problem.
    Oracle Provider for OLE DB 9.x is supporting Unicode.
    But I didn't handle Unicode (DBTYPE_WSTR).
    I added Unicode handling code in my source, then there was no error.

  • Multiple Step Error Caused by SQL Syntax?

    Hi All:
    I am getting a multiple step error when I do this:
    rs.Fields("MyField").Value = MyValue
    I finally tracked down the error to being caused by this syntax:
    SELECT a.* FROM MyTable a
    or
    SELECT a.MyField FROM MyTable a
    However, this syntax works just fine:
    SELECT * FROM MyTable
    or
    SELECT MyField FROM MyTable
    So what's the big deal here?
    Note: Both statements work fine in SQL Server; Oracle chokes on the aliased one.
    Doug.

    Hi Doug,
    I am having very similar problem while runnig the following statments:
    SELECT DESCRIPTION FROM ITEM, LOCATION WHERE ITEM.LOCATIONID = LOCATION.LOCATIONID "Updatable"
    SELECT DESCRIPTION FROM ITEM JOIN LOCATION ON ITEM.LOCATIONID = LOCATION.LOCATIONID " Not updatable"!
    if you figure out something pls let me know!
    Abdullah Obeid.
    Hi All:
    I am getting a multiple step error when I do this:
    rs.Fields("MyField").Value = MyValue
    I finally tracked down the error to being caused by this syntax:
    SELECT a.* FROM MyTable a
    or
    SELECT a.MyField FROM MyTable a
    However, this syntax works just fine:
    SELECT * FROM MyTable
    or
    SELECT MyField FROM MyTable
    So what's the big deal here?
    Note: Both statements work fine in SQL Server; Oracle chokes on the aliased one.
    Doug.

  • Does the NI-CAN 2.5 Channel API support multiple periodic tasks?

    I have different channels that need to be output at seven different periods.  Can I create multiple periodic tasks with different periods or am I going to have to either use software timing or the Frame API?
    Robert C. Mortensen
    Certified LabVIEW Architect
    Certified LabVIEW Embedded Systems Developer
    Endigit

    Hi,
    yes you can initialize multiple task with different sample rates, but you have to initialize all sequentialy and then to start thee tasks sequentialy.
    Attached you can find an example for LabVIEW which shows how to do it.
    DirkW
    Attachments:
    CAN_Multi-Chans_Diff-Period.vi ‏26 KB

  • Examples for good programming practice with multiple DAQmx tasks

    I'm writing a program to continuously log data from 8 counters, 8 encoders, and 8 voltages. The proof of concept VI with a single counter was simple and elegant, but scaling up to all signals resulted in a wiring mess. I've been working through the Labview Core courses, and am currently on Core 3. I still haven't come across a discussion on how to work with multiple DAQmx tasks without making a mess of the block diagram. Can anyone point me in the right direction?
    Also, say I have a state machine that has a configure, idle, and logging states. I need to set the initial values of the encoders during configuration, and keep up with their changes while in the idle state so I have appropriate starting values when entering the logging state. Can anyone point to an example that shows how this might be accomplished?
    Thanks

    I'm very familiar with AE's/Functional Globals - but I have struggled in the past with handling multiple DAQmx tasks - particularly when you're using multiple devices and using different types of measurements which require seperate tasks/handling (e.g. such as thermocouples which require extra compensation).
    I'm not even sure I know whare the requirements are for needing multiple tasks - I know you can need multiple tasks for a single device if the type of measurement is different but can you share an Analogue Input task amongst multiple devices?
    I think in hindsight (and without too much thought now) it looks like a good case for Object Oriented LabVIEW - with a base DAQmx class (initialise, configure, start, acquire, stop, close etc.) and then child classes for each type of measurement (with one task associated with each - and private data unique to that specific class). You then hold an array of objects (one for each task) and iterate through each one with dynamic despatch to get the data.
    I don't know your particular experience level of using LabVIEW (and as such, OO may not be appropriate) - but as a wider discussion of 'best practice' it seems like an appropriate method I would use going forward.
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • Multiple-step operation generated errors.

    Server : Oracle 9i release 2
    OLE DB : OLE DB Provider 9.0.1.0, 9.2.0.4
    In VC++,
    When call IRowset::GetData(), It makes an error.
    "Multiple-step operation generated errors. Check each status value."
    what does it mean? and how can I fix this error?
    Thank you.

    I solved this problem.
    Oracle Provider for OLE DB 9.x is supporting Unicode.
    But I didn't handle Unicode (DBTYPE_WSTR).
    I added Unicode handling code in my source, then there was no error.

  • ADO multiple-step error

    Based on my earlier post but with less information, how do I best work out the cause of this error when performing an ordinary ADO Recordset.Update operation?
    error '80040e21'
    Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
    The ODBC trace logfile (below) seems to show an error in the SQLBulkOperations call. What does this mean and how can I work it out any further?
    Thanks,
    Richard
    Processid:{EF91 150-974 ENTER SQLBulkOperations
    SQLHSTMT 01151C78
    SQLSMALLINT 4
    Processid:{EF91 150-974 EXIT SQLBulkOperations with return code -1 (SQL_ERROR)
    SQLHSTMT 01151C78
    SQLSMALLINT 4
    Processid:{EF91 150-974 ENTER SQLGetDiagRecW
    SQLSMALLINT 3
    SQLHANDLE 01151C78
    SQLSMALLINT 1
    SQLWCHAR * 0x0527DBE8 (NYI)
    SQLINTEGER * 0x0527DC0C
    SQLWCHAR * 0x0527D7E8 (NYI)
    SQLSMALLINT 512
    SQLSMALLINT * 0x0527DC10
    Processid:{EF91 150-974 EXIT SQLGetDiagRecW with return code 100 (SQL_NO_DATA_FOUND)
    SQLSMALLINT 3
    SQLHANDLE 01151C78
    SQLSMALLINT 1
    SQLWCHAR * 0x0527DBE8 (NYI)
    SQLINTEGER * 0x0527DC0C
    SQLWCHAR * 0x0527D7E8 (NYI)
    SQLSMALLINT 512
    SQLSMALLINT * 0x0527DC10                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    error '80040e21'
    Multiple-step OLE DB operation generated errors. Check >each OLE DB status value, if available. No work was doneUnfortunatly this error is too easy to repeat with several databases. I have produced this error in adoanywhere using serverside cursor locations. Switching to Client-Side cursor location often stops the error.
    It generally happens when I attempt to open 2 or more connections and attempt to modify the same row in each.
    HTH,
    Mike
    www.adoanywhere.com

  • Multiple Steps Verification

    Hi,
    How can I get multiple steps status from TestStand? I have 20+ pass/fail steps in code and need to update one station global array based on the result status. Example of my sequence given below for better understanding.
    Step1: Action 1
    Step 2: Action 2
    Step 3: Test 1 (Pass/Fail)
    Step 4: Test 2 (Pass/Fail)
    Step 5: Action 3
    Step 6: Test 3 (Numeric Test)
    Step 7: Test 4 (String Test)
    Step 8: Test 5 (Pass/Fail)
    Step 9: Action 4
    Step 10: Test 6 (Pass/Fail)
    In this sequence, if Test 1, 2, 6 passes, I need to update one Station global (array element 1); if Test 3, 5, 6 passes, need to update Station global (array element 2) and Test 4, 6 passes Station global (array element 3). How can I implement it? At present we are doing with ANDing unique number of steps status with “if” condition.
    Thanks,
    Sanad MM

    You have Result array at runtime, and there are all status of steps, then you u need to write expression to check them and do actions on stationglobals

Maybe you are looking for

  • How to access images in a jar file

    Hello, I am currently developping a swing application that uses icons (gif files) and I have zipped all my classes and images in a single .jar file. When I try to access those files it doesn't work ... it seems that I am not using the right way ... C

  • How to pass a general datalog type to a subvi

    I am writing a general subvi to determine if a file of a given name and optionally datalog type exists in a directory specified by the user. To match the datalog type I must be able to pass it into my subvi. To keep this question in a simple context,

  • Configration of Deffered Tax

    Hai, How do we configured about the deferred Tax? Where we will show? Thanks in advance, kindly helpmeout RameshK Moderator: Please, read and respect the rules of SDN

  • Problem executing a JDBC Insert on PI 7.1

    Hi, I'm trying to do a simple insert to a database in 7.1. but it keeps failing. The database table has been defined to allow nulls in every field. The mapping has been tested and maps correctly resulting in the following XML: <?xml version="1.0" enc

  • How to make a data set from this???

    Hi all, I have to read an XML file and then display each item on my page. Now, I have no problems doing this with simple, one level XML files like an RSS file for example. But the XML I have to read is a little different to what I am used to: quote: