Activity to Pass Published Data One Item at a Time

i am passing a variable number of items to a runbook.  i would like to pass them to an activity one at a time in that new runbook.  Since "Initialize Data" cannot pass items individually, is there some other activity that can do so.   
In short, i send elements to a runbook and i want the elements to be processed in the new runbook one element at a time. thanks.

Hello,
if I understand right want to pass several items in "Initialize Data" and each item should be triggered in the Runbook and the number of items changes ?
-> You can pass th items separated with semicolon and split them with the "Run :Net Script" Activity again.
$myPublishedVariable = @()
$ArrayList = 'bla;blub' -split ";"
foreach ($Item in $ArrayList) {$myPublishedVariable+= $Item}
Regards,
Stefan
www.sc-orchestrator.eu ,
Blog sc-orchestrator.eu

Similar Messages

  • Is there a datatype that allows me to store more than one item at a time

    Hello Everyone,
    Is there a datatype that allows me to store more than one item at a time , in a column in a row?
    I have to prepare a monthly account purchase system. Basically in this system a customer purchases items in an entire month as and when required on credit and then pays at the end of the month to clear the dues. So, i need to search the item from the inventory and then add it to the customer. So that when i want to see all the items purchased by a customer in the current month i get to see them. Later i calculate the bill and then ask him to pay and flushout old items which customer has purchased.
    I am having great difficulty in preparing the database.
    Please can anyone guide me! i have to finish this project in a weeks time.
    Item Database:
    SQL> desc items;
    Name Null? Type
    ITEMID VARCHAR2(10)
    ITEMCODE VARCHAR2(10)
    ITEMPRICE NUMBER(10)
    ITEMQUAN NUMBER(10)
    Customer Database:
    SQL> desc customerdb;
    Name Null? Type
    CUSTID VARCHAR2(10)
    CUSTFNAME VARCHAR2(20)
    CUSTLNAME VARCHAR2(20)
    CUSTMOBNO NUMBER(10)
    CUSTADD VARCHAR2(20)
    I need to store for every customer the items he has purchased in a month. But if i add a items purchased by a customer to the customer table entries look this.
    SQL> select * from customerdb;
    CUSTID CUSTFNAME CUSTLNAME CUSTMOBNO CUSTADD ITEM ITEMPRICE ITEMQUANTITY
    123 abc xyz 9988556677 a1/8,hill dales soap 10 1
    123 abc xyz 9988556677 " toothbrush 18 1
    I can create a itempurchase table similar to above table without columns custfname,csutlnamecustmobno,custadd
    ItemPurchaseTable :
    CUSTID ITEM ITEMPRICE ITEMQUANTITY
    123 soap 10 1
    123 toothbrush 18 1
    ill just have it as follows. But still the CUSTID FK from CustomerDB repeats for every row. I dont know how to solve this issue. Please can anyone help me.
    I need to map 1 customer to the many items he has purchased in a month.
    Edited by: Yukta Lolap on Oct 8, 2012 10:58 PM
    Edited by: Yukta Lolap on Oct 8, 2012 11:00 PM

    You must seriously read and learn about Normalization of tables; It improves your database design (at times may increase or decrease performance, subjective cases) and eases the Understanding efforts for a new person.
    See the below tables and compare to the tables you have created
    create table customers
      customer_id       number      primary key,
      fname             varchar2(50)  not null,
      mname             varchar2(50),
      lname             varchar2(50)  not null,
      join_date         date          default sysdate not null,
      is_active         char(1)     default 'N',
      constraint chk_active check (is_active in ('Y', 'N')) enable
    create table customer_address
      address_id        number      primary key,
      customer_id       number      not null,
      line_1            varchar2(100)   not null,
      line_2            varchar2(100),
      line_3            varchar2(100),
      city              varchar2(100)   not null,
      state             varchar2(100)   not null,
      zip_code          number          not null,
      is_active         char(1)         default 'N' not null,
      constraint chk_add_active check (is_active in ('Y', 'N')),
      constraint fk_cust_id foreign key (customer_id) references customers(customer_id)
    create table customer_contact
      contact_id        number      primary key,
      address_id        number      not null,
      area_code         number,
      landline          number,
      mobile            number,
      is_active         char(1)   default 'N' not null,
      constraint chk_cont_active check (is_active in ('Y', 'N'))
      constraint fk_add_id foreign key (address_id) references customer_address(address_id)
    create table inventory
      inventory_id          number        primary key,
      item_code             varchar2(25)    not null,
      item_name             varchar2(100)   not null,
      item_price            number(8, 2)    default 0,
      item_quantity         number          default 0,
      constraint chk_item_quant check (item_quantity >= 0)
    );You may have to improvise and adapt these tables according to your data and design to add or remove Columns/Constraints/Foreign Keys etc. I created them according to my understanding.
    --Edit:- Added Purchases table and sample data;
    create table purchases
      purchase_id           number        primary key,
      purchase_lot          number        unique key  not null,     --> Unique Key to map all the Purchases, at a time, for a customer
      customer_id           number        not null,
      item_code             number        not null,
      item_price            number(8,2)   not null,
      item_quantity         number        not null,
      discount              number(3,1)   default 0,
      purchase_date         date          default sysdate   not null,
      payment_mode          varchar2(20),
      constraint fk_cust_id foreign key (customer_id) references customers(customer_id)
    insert into purchases values (1, 1001, 1, 'AZ123', 653, 10, 0, sysdate, 'Cash');
    insert into purchases values (2, 1001, 1, 'AZ124', 225.5, 15, 2, sysdate, 'Cash');
    insert into purchases values (3, 1001, 1, 'AZ125', 90, 20, 3.5, sysdate, 'Cash');
    insert into purchases values (4, 1002, 2, 'AZ126', 111, 10, 0, sysdate, 'Cash');
    insert into purchases values (5, 1002, 2, 'AZ127', 100, 10, 0, sysdate, 'Cash');
    insert into purchases values (6, 1003, 1, 'AZ123', 101.25, 2, 0, sysdate, 'Cash');
    insert into purchases values (7, 1003, 1, 'AZ121', 1000, 1, 0, sysdate, 'Cash');Edited by: Purvesh K on Oct 9, 2012 12:22 PM (Added Price Column and modified sample data.)

  • Loading data one year at a time

    Hi,
    We have a situation where we need to load data one year at a time. I saw this done a few years ago but do not remember the details.
    What I am thinking is that we could initially run a full load with the following parameters:
    $$ANALYSIS_START: 1/1/2006
    $$ANALYSIS_START_WID: 1/1/2006
    $$INITIAL_EXTRACT_DATE: 1/1/2006
    $$ANALYSIS_END_WID: 1/1/2006
    And this should give us one year. What I am not sure about is how to load each subsequent year???
    Regards

    Is the issue a performance issue (ETLs running for too long)? The problem is that if you do Year by year..and you want to do a "incremental" load for each year, that would be even more of a load..since you are not allowing for BULK load (where the tables get truncated). Either you can truncate and do BULK or incrmental..which may be an even heavier load. I think you are assuming that this approach will somehow help you from a hardware limitation standpoint..do you know for sure that it will?
    If you really do want to do it, as I mentioned, you can edit the INITIAL and END parameters. It would help if you clarify the Hardware limitation...I think there are better ways to handle this than to do what you are doing.

  • How can I buy more than one item at a time?

    How can I buy more than one item at a time i iPhote fx a book and a calander? It would be nice to place one order and only pay for the shipping once!

    You can't.
    Regards
    TD

  • HT1040 Is there a way to place an order with more than one item at a time? For example I am going to make a few books and have them all shipped to me.  Do I have to order and pay shipping for each one individually?

    Is there a way to place an order with more than one item at a time?  for example I am making a few books and having them all shipped to me.  Do I have to order each one separately and pay shipping each time?

    You have to order each book separately, if the books are different. Only multiple copies of the same book can be ordered in the same order, see here
    Regards
    Léonie

  • How do I delete  one item at a time from trash?

    How does one delete one item at a time from trash?

    In general, one doesn't.
    I suggest you create a new folder (I use "Trash Soon") on the desktop near the trash icon. Move all the stuff out of the Trash bin into the Trash Soon Folder. Then move the things you really want to eliminate to the Trash can. Empty Trash.
    DO NOT store anything you want to keep in the real Trash can. There are many activities that may cause "Empty Trash" a a side-effect.
    If you have multiple drives, The Trash is an illusion created for your convenience. The actual Items may be on several different drives, but all marked as "in Trash". Moving them to a folder on a different drive may cause unexpected copying.

  • Custom Activity not returning Published Data when ActivityWarning() is thrown

    I'm using Visual Studio 2012 on Windows 8.1 to develop a custom
    ActivityMonitor class using the
    imperative approach with the Microsoft System Center 2012 R2 Orchestrator Integration Toolkit. The
    ActivityMonitor inherits from IActivity, has two inputs and three outputs declared in the
    Design method, and publishes three outputs in the Execute method.
    I want to use this ActivityMonitor such that the Orchestrator
    smart link only processes published data when a Warning is encountered. Therefore, after calling the
    IActivityResponse.Publish method three times (once for each output), I throw a new
    ActivityWarning exception.
    Unfortunately, after throwing the ActivityWarning exception, no published data is passed down the smart link. Since this published data is used by the next
    Activity, it is causing that Activity to fail.
    Why is my published data getting discarded, just because an ActivityWarning was thrown? How can I make this work?
    If this post was helpful, please click the little "Vote as Helpful" button :)
    Trevor Sullivan
    Trevor Sullivan's Tech Room
    Twitter Profile

    Hi Mithun Sharma
    Are you getting desired result, when you execute the RFC FM directly in SAP, with the same values, which you pass from .NET
    Regards
    Madhan Doraikannan

  • How to send data one row at a time from xml to flex

    I want to setTimerEvent while sending data from xml to flex, one row at a time.
    I have attached the xml.
    Thanks in advance.

    Hi Greg,
    Thanks for the reply. You must have seen the xml which i have attached.Here is the .mxml code which i have written:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="accountData.send()">
    <mx:Script>
    <![CDATA[
    import mx.controls.*;
    import mx.rpc.events.FaultEvent;
    import mx.rpc.events.ResultEvent;
    import mx.collections.ArrayCollection;
    [Bindable]
    private var AccountInformation:ArrayCollection;
    private function AccountHandler(evt:ResultEvent):void
        AccountInformation = evt.result.xml.AccInfo;
    private function faultHandler(evt:FaultEvent):void
        var faultMessage:String = "Could not connect with XML file";
        Alert.show(faultMessage, "Error opening file");
    ]]>
    </mx:Script>
    <mx:HTTPService id="accountData" url="pgm1.xml" result="AccountHandler(event)" fault="faultHandler(event)"  />
    <mx:DataGrid x="20" y="24" width="950" dataProvider="{AccountInformation}" />
    </mx:Application>
    This reads and displays all the rows. But I want to display single row at a time with sometime time gap between the display of two consecutive rows.I am new to flex and this is my first code, so need your help on this.
    I hope i have made myself clear. If there is anything else please let me know.
    Looking forward to some solution.
    Thanks in advance.
    Regards,
    praj58

  • How can I publish just one page at a time?

    I switched to a new computer, so I moved the domain file. When I open iWeb, all the pages are there. I made one small change, and only want to update the one page, but since it's on a new computer, all the pages are red and I can't publish just one page - every time I try, iWeb tries to publish all the pages, and it errors out every time. Can anyone tell me how to make it publish just one page at time in spite of the fact that all the pages in the sidebar are red? The only reason I can think for the error message is that there's too much content to do it all at once.

    Yes. If you are uploading to a server and not MobileMe, then just select the option publish to a local folder.
    When you have done this, then use Cyberduck or Transmit and upload just the one page from your site folder to your server, plus it's resultant file. So if you just want to upload a Welcome page for example, use Cyberduck to upload just the Welcome.html page and the Welcome files to your server and into your root folder on your server, which would be either a public_html folder, a www or htdocs folder.

  • Can only print one item at a time

    Hey everyone,
    Bit of a Photoshop novice here, use it for DVD covers and labels. I have been using CS3 previously but upgraded to CS5.5 last year. The thing is on CS5.5 I can only print one page at a time even when I input say 20 copies to be printed, only one will print. That goes for the regular printer for printing covers and the disc printer.
    I can open CS3 up and right away it will print however many I ask it to.
    Is there something I am missing? Something so painfully obvious that it is staring me in the face but I am just not seeing it?
    Thanks in advance!

    It isn't a printer setting. I have 3 different printers connected to my system and all of them worked with CS3 fine. And when I delete the preferences folder for CS5.1 it works as it should but only once, then afterwards it only prints one copy, no matter how many I ask it to print!
    So if it works when the preferences have been removed, then fails to work afterwards, how can that be a printer setting?
    I have read elsewhere that others have had similar issues with CS5 and Windows 7.

  • When queueing several dl's, how can I get it to dl one item at a time instead of several at once?

    My internet connection is fairly slow. When I start more than one download at a time, they appear to stall. When I start one at a time, waiting for the previous to finish, the total time is much less.
    How do I stack up several requests at once and have FF process one at a time while I go have tea?

    You will have to use an external download manager that add such a feature.
    * http://plugindoc.mozdev.org/windows4.html
    You can use the FlashGot extension to integrate an external Download Manager in Firefox.
    * FlashGot: https://addons.mozilla.org/firefox/addon/flashgot/

  • Apex 4.2  passing value from one item to other page

    I have a page where i accept a starting date and ending date as a parameter
    its source i set it as preference or application item
    Now in the other page I calls a jasper report..
    so it refers the first page.. I am not able to access the start_date which is in other page
    start_date and end_date
    Start_date shows as null
    Am confused over what is preference and application item
    Where will we use preference as a source type.
    Again example
    page 103
    p103_start_issue - preferenec
    p103_end_issue -- preference
    A buttons calls other page
    The other page
    when i call jasper report I Pass the parameter value as :p103_start_issue and :p103_end_issue
    But the actual value is null for those fields..
    How can i acess the actual value..
    Do i need to use application item. ? I tried application item as source type but still the same issue.
    Thanks

    Am confused over what is preference and application item
    Where will we use preference as a source type.A Page item is the most short-lived way to store variables in session state. Page items are routinely (although not always) cleared when entering or leaving a page. They are generally used to store a value that changes most times that you enter a page. Page items are also generally intended for use primarily by code on that page. This is not to say that other pages can not or will not use them, but access from other pages has to be controlled so that they are not trying to reference a page item from a different pages after the cache for that page has been cleared.
    Application items are for data that is longer-lived and/or is intended to be accessed by multiple pages. Application Items are not cleared unless a session end or a specific call to clear them is made.
    Preferences are for data that is intended to be stored and retrieved for specific users across multiple sessions. Log out of an app and back in and the data is still available.
    That said, from your description of the problem, I would guess that the cache on page 103 was cleared and the page item values erased. I suspect that you should be using an application item from what you have posted.

  • ISA-Ecommerce : Passing extension data at item level to CRM backend?

    Hi Experts,
    I want to pass the extension filed data which is present at item level to the CRM back end system. In DEMO1 example provided, they have demonstrated about header data to pass.
    HeaderData headerdata = isaBOM.getBasket().getHeaderData();(header data BOM instance)
    ItemListData itemsdata = isaBOM.getBasket().getItemListData();(Item data BOM instance)
    String extHDshipmethods = (String)p_request.getParameter("zhext_shippmethods");(request from http for header data)
    String extIDshipmethods = (String)p_request.getParameter("ziext_shippmethods");(request from http for item data)
    headerdata.addExtensionData("ZHEXTENSIONSHIPMETHODS", extHDshipmethods);(adding extension to header data)
    itemsdata.add("ZIEXTENSIONSHIPMETHODS", extIDshipmethods);(adding extensoin to item data but gettin error)
    In the above last line i am getting an error saying that add(itemlistdata) cannot be used as a string. Generally for header data, in the extension guide it is mentioned that we use "headerdata.addExtensionData("",)" but for items data what should be used??
    Thanks a lot in Advance!
    regards,
    lakshman.
    Edited by: lakshman reddy G on Jan 21, 2009 2:24 PM

    Hello LRG,
    In the Java and JSP layer
    In the ZMaintainDispatcher, override the Item level method
    public void customerExitParseRequestItem
    This method is called for each item to parse
    the custom variables. Hint: Since the items are processed in a loop in the JSP, it is
    customary to name the page level variables suffixed with the Item index like myData1[itmIndx]
    public void customerExitParseRequestItem(
       RequestParser parser,
       UserSessionData userSessionData,
       ItemSalesDoc itemSalesDoc,
       int itmIndx  {
       String zItemExtData1 = "";
    // Item level data1[itmIndx] - value is set for item itmIndx
    // see the method parameters
       zItemExtData1 = parser.getParameter("zItemExtData1" +
    itemIdx).getValue().getString();                    
       itemSalesDoc.addExtensionData("zItemExtData1", zItemExtData1 );                    
    This will parse and add item level extensions to the items object.
    In the ABAP layer
    Implement CRM_ISA_BASKET_ITEMS and code in the methods  changeitems_set_data and getitems_get_data
    In the request cycle, you will read the value from the extension table and persist that in the
    transaction - say in a EEWB field. In the method changeitems_set_data
          READ TABLE lt_extension INTO ls_extension WITH KEY
                   name = 'zItemExtData1'.
          IF sy-subrc EQ 0 AND NOT ls_extension-value IS INITIAL.
            ZEEWBDATA1 = ls_extension-value.
          ENDIF.
    In the response cycle, code the getitems_get_data
    *     Populate Extension data Data1 - Assuming that you read it from EEWB field ZEEWBDATA1
          CLEAR ls_extension.
          ls_extension-ref_guid = ls_guid.
          ls_extension-name     = 'zItemExtData1'.
          ls_extension-value    = lv_leewbdata1.
          APPEND ls_extension TO ct_extension.
    In principle, the idea is same as what is shown in the extension guide for the header.
    Please note: Depending upon several user interaction requirements, you may have to
    use different methods in the Item BAdI as well as other methods in the MaintainDispatcher class.
    Easwar Ram
    http://www.parxlns.com

  • Publish just one site at a time?

    I have two sites I'm working on, but when I go to publish just the one it republishes both?
    Can I just publish one at a time?
    If not, can I delete one site from the list but have it saved else where on the
    computer and not have it DELETED completly?
    Thank you.
    PS: I love this iWeb!!!!!

    It's similar
    to how I have to delete the index.html file that gets
    created in the root directory every time I publish my
    personal site.
    Yes, whenever you publish a data file, you get a folder for each site, plus an index.html that points to the site which is at the top of the list in iWeb. Inside each folder is an index.html that points to the page which is at the top of the list for that site.
    Maybe it's not that bad. But either way, they should
    allow you to have seperate sites edited and saved
    independently and published to different locations.
    This is a logical improvement to make, i.e. allow the user to save individual data files and then select them again, rather than having to manipulate them by hand or in separate accounts. A third party may well do it, as was the case for managing multiple iPhoto libraries I think.

  • Loading data one page at a time

    I have 200 records to load in a java server page. I felt loading all these records will affect performance. So I wanted to load 15 records on each pass. However, on the second pass I obtained a nullpointerException(ResultSet -JDBC). Any suggestion on how to do it?
    my other option is to dump them in a vector and retrieve them from there. I really want to use my database connection.
    Thanks

    Remember after the 15th record, I need to bring the record pointer on the 16th one so I can continue to read the next record in the Resulset. Closing the connection, and reissuing the same scheme will take you back to the first record.
    Thanks

Maybe you are looking for

  • Billing doc error due t copa standard quantity

    Hi  I am facing an issue .this is regarding the error while releaseing a billing doc the errortranslating the quantity to the COPA standard quatity. in material master i checked the unit of measure is SET and in copa KEA6 VVAUM( Alt Uom) Error transl

  • More than one Album for a Single Song

    There're some songs which belong to more than one album, Eg:- Seether's "Sold Me" belongs to "Disclaimer II" and "The Punisher" so to add those songs to both the albums i have to keep two copies of the song and that leads the Genius Mixers to play th

  • Problem with AIC-9405w

    Good day IBM server xSeries 306m have serial attachet scsi controller - SAS Adaptec AIC-9405w. On ibm disks there is drivers for suse and redhat. And it seems what plain kernel 2.6.16 did not support this. Question is: any of Arch kernels (mm, beyond

  • How do I get my airdrop to work correctly?

    I can't get anyone to pop up in airdrop window

  • What exactly is the advantage of VPN?

    I work in an architectural office of about 15 people. We've always had access to our wiki, files and calendars when out of the office. Currently we have a Standard setup of Leopard Server with the following services: iChat (using just a private local