Results 1 to 2 of 2

Thread: HOW TO Handle action with date tables on both

  1. #1
    Junior Member
    Join Date
    Feb 2008
    Answers
    1

    HOW TO Handle action with date tables on both

    I have a script to add , service's in a system (100 services ) i have a datetable which is global one

    If am using a current action datetable its taking only Value from 1 row

    so i make it gobal
    ========

    Now there is a second script which is going to add IPTV service on the system (100 services ) which is also the having a datetable which is gobal to this action
    =======


    i want to call the second action in my frist script but what happening is if am calling it its excuting the frist script once and moving to second script and again coming to frist
    ===========

    i want the script like frist 100 service should get add the second 100 service should get add

    ----------


  2. #2
    Expert Member
    Join Date
    Oct 2007
    Answers
    375

    Re: HOW TO Handle action with date tables on both

    Hi,

    I guess you can use a single Global Datatable for both the actions instead of having 2 seperate ones.

    Include the first 100 Service ID's as part of a column and add the remaining 100 as part of second column. Associate column 1 with Action1 and column2 with Action2.

    DataTable("Column Name",dtGlobalSheet) - Specify Column name as required in the action.

    At the end of Action 1, have a return flag for the completion statement. Use a simple condition to check if the return value is True or 0.

    Incase yes, RunAction Action2
    else
    Report.ReportEvent "Message stating Action1 failed. Action 2 not started".

    Let me know if this works.

    Cheers...


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact