IBOTS with conditional request

Hi All,
Wish you all a very happy and prosperous new year.
I have created a iBOT to see a process has started or not.
I have a request in the Conditional Request tab and only if i mentioned the request the delivery content tab i am receiveing the email if i remove the request from the delivery content which i actually what i want and just dsiplay the contents of the Headlines the email is not trriggering.
Is the the usual way a iBOT works where we need to select the request in both the tabs ( Connditional Request & Delivery Content). I do not need the report as an attachemnt in the email, i need a email which for example states *"Stared the Process ABC"*
Thanks in Advance for the help
Regards,
Amit

Hi Sandeep,
You have a couple of options here, the conditional request route, or simply calling the ibot execution from the command line.
For the conditional request, I'd set up an RPD init block that retrieves the ETL date into a variable.
You then set up a simple answers request to return a row (for example from the time dimension) when the ETL date is greater than or equal to today (e.g the ETL has refreshed)
This report then forms the conditional request for the ibots, if the conditional request returns a row, the ibots are executed.
The alternative for command line execution , uses the 'saschinvoke' which is Siebel Analytics Scheduler Invoke. :
Usage: SASchInvoke.exe -u <Admin Name>/<Admin Password>
(-j <job id> | -i <iBot path>)
([-m <machine name>[:<port>]]
| -p <primaryCCS>[:<port>] -s <secondaryCCS>[:<port>])
([(-r <replace parameter filename>
|-a <append parameter filename>)]
| [-x <re-run instance id>])
[-l
[-c <SSL certificate filename>
-k <SSL certificate private key filename>]
[-w <SSL passphrase>|-q <passphrase_file>|-y]
[-h <SSL cipher list>]
[-v
[-e <SSL verification depth>]
-d <CA certificate directory> | -f <CA certificate file>
[-t <SSL trusted peer CNs>]
Hope this helps,
Rgrds
Alastair

Similar Messages

  • Chaining iBots without using Conditional Requests?

    I am using iBots with delivery content and a java script to export this to excel files. Now I want to chain these iBots.
    If I use the first iBot to run the 2nd iBot I need to have a conditional request. But these iBots don't have conditional requests.
    Using conditional requests equal to the delivery content would be requesting the same report twice. The reports are large and time a lot of time.
    So how can I create a chain without requesting all the reports two times?

    Hi,
    May I know how you configured the Conditional Formatting in detail? Especially what conditions you selected.
    As for the question, there is no build-in feature in Outlook to realize your request, the only method I can think of is to use VBA.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • IBOT Conditional request

    Hello,
    I have a report scheduled with a conditional request First day of fiscal month. The condition applied is a SQl statement which says the request will return some value if todays date is equal to first day of fiscal month.
    Now if I schedule it every friday with this condition will it retun any value? Correct me If I am wrong, when we give conditions like this we don't need to schedule it right!!
    Please advice me on this,Thanks.
    Cheers,
    - Abhi

    Think of it this way. Suppose you manually fired your report in Answers everyday. What would happen? Due to your filter, the report would return no rows except for the first day of your fiscal month, right? Scheduling an iBot just replaces you having to do this manual task everyday. The results would be the same. So as Turribeach said, schedule it to run everyday and on the day there is data, the report will reflect this.
    HTH,

  • Can´t deliver by Email on conditional request on Recipients

    Guys: Hi, let me ask you if anyone know why i Can´t deliver by Email on conditional request on Recipients. I have a simple report with year, month, date and email fileds and create ibot with this report and the next parameters:
    GENERAL:
    Priority HIGH
    Data Visibility Not Personalized
    Run As ADMINISTRATOR
    RECIPIENTS:
    Determine recipients from conditional request EMAIL
    DESTINATIONS:
    Specific Devices EMAIL
    This is the error message:
    +++ ThreadID: 2510 : 2009-05-11 17:17:56.625
    iBotID: /users/administrator/_ibots/PRUEBA INTELLEGO
    No devices for user: [email protected]
    +++ ThreadID: 2510 : 2009-05-11 17:17:56.625
    iBotID: /users/administrator/_ibots/PRUEBA INTELLEGO
    No devices for user: [email protected]
    PD: Let me tell you that if i send with "Me" option check on Recipient, i don´t have any problem.

    lets say you want to send accounts associated to sales team then load sales team user id in the OLAP table and pull that column in the report and in recipients tab under determine recipients from conditional request select the user id column. Once you save the ibot it will pick the user email id from SA system subject area automatically. I have done this in my project and its working fine.
    Thanks,
    Sachin

  • Is it a bug? Conditional request

    {color:#000000}Hi,
    I have a region button which submits with the request {color:#993366}APPLY_CHANGES{color}
    On this same page I have a {color:#993366}pl/sql{color} page process with a condition set to {color:#993366}Request is contained within Expression 1 {color}
    Expression 1 contains the following string: {color:#993366}APPLY_CHANGES_DSG,APPLY_CHANGES_DEF{color}
    To my amazement the page process does execute when the page is submitted with a request of {color:#993366}APPLY_CHANGES{color}
    Obviously instead of checking the list of values in Expression 1 against the request, the condition simply does an {color:#993366}instr(EXPRESSION1,REQUEST){color}
    The help reads:
    >
    REQUEST is an internal application attribute that
    tracks of how a page is submitted. By default, when a page is
    submitted, the value of REQUEST is set according to the
    event that caused the page to be submitted. For example, the event
    could be when a user clicks a button or selects a tab. Depending upon
    the event, you can perform different operations by referencing the
    value of the REQUEST application attribute.
    Use this condition to specify {color:#ff0000}*a list of allowed requests*{color} (such as
    SAVE or UPDATE) in Expression 1. The condition evaluates to true if the
    value of REQUEST is contained in the list.
    {color}Especially this {color:#ff0000}list of allowed requests{color} led me to expect it would check comma seperated values instead of simply doing an instr. Could someone please explain what is the behaviour I should expect. Is it a bug or isn't it?
    Thanks,
    Geert

    Geert - It is working as intended. The condition for your situation is:
    Value of Item in Expression 1 Is Contained within Colon Delimited List in Expression 2
    Put &REQUEST. in Expression 1.
    Put APPLY_CHANGES_DSG:APPLY_CHANGES_DEF in Expression 2.
    Scott

  • SUM function with condition in RTF template

    Hi All,
    I have a problem in calculating the SUM in RTF template with condition,
    Here is the XML
    - <LIST_G_LINE_NOTES>
    - <G_LINE_NOTES>
    <LINE_TRX_ID>1567856</LINE_TRX_ID>
    <LINE_ID />
    - <LIST_G_TRX_LINE>
    - <G_TRX_LINE>
    <CF_ITEM_NO>SDCN1144B</CF_ITEM_NO>
    </G_TRX_LINE>
    </LIST_G_TRX_LINE>
    - <LIST_G_LINE_EQUIVALENT_UNIT_PRICE>
    - <G_LINE_EQUIVALENT_UNIT_PRICE>
    <LINE_EQUIVALENT_UNIT_PRICE>-15.99</LINE_EQUIVALENT_UNIT_PRICE>
    <LINE_EXCHANGE_EXTENDED_AMOUNT>-223.86</LINE_EXCHANGE_EXTENDED_AMOUNT>
    <CUSTOMER_TRX_LINE_ID>1567856</CUSTOMER_TRX_LINE_ID>
    </G_LINE_EQUIVALENT_UNIT_PRICE>
    </LIST_G_LINE_EQUIVALENT_UNIT_PRICE>
    - <LIST_G_TRX_LINE>
    - <G_TRX_LINE>
    <CF_ITEM_NO></CF_ITEM_NO>
    </G_TRX_LINE>
    </LIST_G_TRX_LINE>
    I need the summation of field LINE_EXCHANGE_EXTENDED_AMOUNT with the condition CF_ITEM_NO!=''
    can anybody help me with the solution.
    Thanks in Advance

    Kavipriya,
    Here is the XML
    <LIST_G_LINE_NOTES>
    <G_LINE_NOTES>
    <LINE_TRX_ID>1567856</LINE_TRX_ID>
    <LINE_ID />
    <LIST_G_TRX_LINE>
    <G_TRX_LINE>
    <LINE_DELIVERY_ID />
    <DISCOUNT>0</DISCOUNT>
    <CP_LN_TAX_AMT />
    <CF_ITEM_NO>SDCN1144B</CF_ITEM_NO>
    </G_TRX_LINE>
    </LIST_G_TRX_LINE>
    <LIST_G_LINE_EQUIVALENT_UNIT_PRICE>
    <G_LINE_EQUIVALENT_UNIT_PRICE>
    <LINE_EXCHANGE_EXTENDED_AMOUNT>-223.86</LINE_EXCHANGE_EXTENDED_AMOUNT>
    </G_LINE_EQUIVALENT_UNIT_PRICE>
    </LIST_G_LINE_EQUIVALENT_UNIT_PRICE>
    </G_LINE_NOTES>
    Edited by: user13012317 on Mar 10, 2011 11:00 PM

  • How to prevent duplication on a column with condition

    Hello everyone,
    I need some advice here. At work, we have an Oracle APEX app that allow user to add new records with the automatic increment decision number based on year and group name.
    Says if they add the first record , group name AA, for year 2012, they get decision number AA 1 2013 as their displayed record casein the report page.
    The second record of AA in 2013 will be AA 2 2013.
    If they add about 20 records , it will be AA 20 2013.
    The first record for 2014 will be AA 1 2014.
    However, recently , we get a user complaint about two records from the same group name have the same decision number.
    When I looked into the history table, and find that the time gap between 2 record is just about 0.1 seconds.
    Besides, we have lookup table that allows admin user to update the Start Sequence number with the restraint that it has to be larger than the max number of the current group name of the current year.
    This Start sequence number and group name is stored together in a table.
    And in some other special case,user can add a duplicate decision number for related record. (this is a new function)
    The current procedure logic to add new record on the application are
    _Get max(decision_number) from record table with chosen Group Name and current year.
    _insert into the record table the new entered record with decision number + 1
    _ update sequence number to the just added decision number.
    So rather than utitlising APEX built-in automatic table modification process, I write a procedure that combine all the three process.
    I run some for loop to continuously execute this procedure, and it seems it can autotically generate new unique decision number with time gap about 0.1 second.
    However, when I increase the number of entry to 200, and let two users run 100 each.
    If the time gap is about 0.01 second, Duplicate decision numbers appear.
    What can I do to prevent the duplication ?
    I cannot just apply a unique constraint here even for all three columns with condition, as it can have duplicate value in some special condition. I don't know much about using lock and its impact.
    This is the content of my procedure
    create or replace
    PROCEDURE        add_new_case(
      --ID just use the trigger
      p_case_title IN varchar2,
      p_year IN varchar2,
      p_group_name IN VARCHAR2,
      --decisionnumber here
      p_case_file_number IN VARCHAR2,
      --active
      p_user IN VARCHAR2
    AS
      default_value NUMBER;
        caseCount NUMBER;
      seqNumber NUMBER;
      previousDecisionNumber NUMBER;
    BEGIN
      --execute immediate q'[alter session set nls_date_format='dd/mm/yyyy']';
      SELECT count(*)
            INTO caseCount
            FROM CASE_RECORD
            WHERE GROUP_ABBR = p_group_name
            AND to_number(to_char(create_date, 'yyyy')) = to_number(to_char(date_utils.get_current_date, 'yyyy'));
            SELECT max(decision_number)
            INTO previousDecisionNumber
            FROM CASE_RECORD
            WHERE GROUP_ABBR = p_group_name
            AND to_number(to_char(create_date, 'yyyy')) = to_number(to_char(date_utils.get_current_date, 'yyyy'));
            IF p_group_name IS NULL
            THEN seqNumber := 0;
            ELSE   
            SELECT seq_number INTO seqNumber FROM GROUP_LOOKUP WHERE ABBREVATION = p_group_name;
            END IF;
        IF caseCount > 0 THEN
               default_value := greatest(seqNumber, previousdecisionnumber)+1;
        ELSE
               default_value := 1;
        END IF; 
      INSERT INTO CASE_RECORD(case_title, decision_year, GROUP_ABBR, decision_number, case_file_number, active_yn, created_by, create_date)
      VALUES(p_case_title, p_year, p_group_name, default_value, p_case_file_number, 'Y', p_user, sysdate );
      --Need to update sequence here also
      UPDATE GROUP_LOOKUP
      SET SEQ_NUMBER = default_value
      WHERE ABBREVATION = p_group_name;
      COMMIT;
    EXCEPTION
    WHEN OTHERS THEN
        logger.error(p_message_text => SQLERRM
                    ,p_message_code => SQLCODE
                    ,p_stack_trace  => dbms_utility.format_error_backtrace
        RAISE;
    END;
    Many thanks in advance,
    Ann

    Why not using a sequence for populating the decision_number column ?
    Sequence values are guaranteed to be unique so there's no need to lock anything.
    You'll inevitably have gaps and no different groups will have the same decision_number in common.
    Having to deal with consecutive numbers fixations you can proceed as
    with
    case_record as
    (select 2012 decision_year,'AA' group_abbr,1 decision_number from dual union all
    select 2012,'BB',2 from dual union all
    select 2012,'AA',21 from dual union all
    select 2012,'AA',22 from dual union all
    select 2012,'BB',25 from dual union all
    select 2013,'CC',33 from dual union all
    select 2013,'CC',34 from dual union all
    select 2013,'CC',36 from dual union all
    select 2013,'BB',37 from dual union all
    select 2013,'AA',38 from dual union all
    select 2013,'AA',39 from dual union all
    select 2013,'BB',41 from dual union all
    select 2013,'AA',42 from dual union all
    select 2013,'AA',43 from dual union all
    select 2013,'BB',45 from dual
    select decision_year,
           group_abbr,
           row_number() over (partition by decision_year,group_abbr order by decision_number) decision_number,
           decision_number sequence_number -- not shown (noone needs to know you're using a sequence)
      from case_record
    order by decision_year,group_abbr,decision_number
    DECISION_YEAR
    GROUP_ABBR
    DECISION_NUMBER
    SEQUENCE_NUMBER
    2012
    AA
    1
    1
    2012
    AA
    2
    21
    2012
    AA
    3
    22
    2012
    BB
    1
    2
    2012
    BB
    2
    25
    2013
    AA
    1
    38
    2013
    AA
    2
    39
    2013
    AA
    3
    42
    2013
    AA
    4
    43
    2013
    BB
    1
    37
    2013
    BB
    2
    41
    2013
    BB
    3
    45
    2013
    CC
    1
    33
    2013
    CC
    2
    34
    2013
    CC
    3
    36
    for retrieval (assuming decision_year,group_abbr,decision_number as being the key):
    select decision_year,group_abbr,decision_number -- the rest of columns
      from (select decision_year,
                   group_abbr,
    -- the rest of columns
                   row_number() over (partition by decision_year,group_abbr order by decision_number) decision_number
              from case_record
             where decision_year = :decision_year
               and group_abbr = :group_abbr
    where decision_number = :decision_number
    DECISION_YEAR
    GROUP_ABBR
    DECISION_NUMBER
    2013
    AA
    4
    if that's acceptable
    Regards
    Etbin

  • Is it possible to create a Column with Conditional Mandatory with another Column?

    Is it possible to create a Column with Conditional Mandatory with another Column?
    For example
    In a Table we have column A, B, C.
    A is Primary Column.
    B is Optional
    C is Conditional Mandatory.
    A B
    C
    12345 ABC
    OK
    12346 NULL
    NULL
    12347 ABC
    OK
    Only if the B Column has the value then only C column should be mandatory

    I guess you can't create a condtional mandatory column directly. However, you can use check constraint to on the column
    create table YourTable
      A int primary key,
      B char(3),
      C int,
      constraint ch_con check(
                                B
    is not null
    or C is null

  • Message: Enter a country for partner xyz with type 'requester'

    We are using SRM Server 500.
    I am customizing a new installation. When I create a SC in classic scenario using "Describe Requirement" I get following messages:
    "Enter a country for partner 0000000081 with type requester."
    "Enter a country for partner 0000000081 with type goods recipient."
    I didn't enter a source of supply, the partner number 0000000081 is a BP that belongs to the user in who creates the SC, as I can see in ppoma_bbp.
    All org-units are matched up in TA BBP_BP_OM_INTEGRATE.
    In TA BP I checked the address of 0000000081. Everything is ok, country is entered. What I cannot find is Partner type 'Requester' or 'Goods Recipient' in TA BP.
    I never had this Problem befor and I customized a few SRM, EBP, BBP, B2B systems. Has anybody an idea?
    Thank you for your response.

    Hi BERTRAND,
    one of our users is also facing the same issue when she is trying to cancel one confirmation in srm 7. DO you have any idea how can i check the consistency of the user in SRM7 as BBP_CHECK_USERS are not working in my SRM7 system.

  • Scheduling Agreement With Condition Type Calc.

    Hi All,
       Can i have Scheduling Agreement With Condition Type Calc. as in PO Conditions as there are some calculation need to be made based on Excise.
    Thanks in advance
    Sapuser

    Hi,
    Condition in scheduling agreeement are time dependent where as condition in purchase order time independent so it's not possible to use.
    Regards
    Ravi Shankar.

  • How to activate Approval in Sales Order for the UDF with condition

    Dear Expert,
                       I have created the UDF field Rebate(type amount) in Sales Order.I want to activate the approval procedure for this UDF with condition where Rebate is greater then Zero.I had applied the query and Activate it in approval procedure.--
    SELECT (Case When IsNull(count(T0.[DocEntry]),0) <>0 Then 'True' Else 'False' End) AS TF            
    FROM Ordr T0   where DocType='I' AND t0.U_rebate >0 and convert(Varchar(20),T0.[CreateDate],103) =(select convert(Varchar(20),Getdate(),103))
    But I found that the approval procedure activate every time inspite the Rebate field is Zero.
    Plaese suggest some soloution for it.
    regards,
    PankajK

    Hi Pankaj......
    Try this.......
    Select Distinct 'True' From ORDR T0 Where T0.U_Rebate>0 and T0.DocType='I' And T0.DocNum=$[ORDR.DocNum.0]
    Hope this will help you.......
    Regards,
    Rahul

  • Merge text file with condition

    I have two text files (report1.txt and report2.txt) that I want to merge with conditions:
     - Matching rows that have same "ID" and same "TranVal", will keep only one instance
     - Mismatching rows that have same "ID" both rows from 2 file, but column "TranVal" has different value, then the row from report2.txt will replace row in report1.txt
     - Any "ID" that exists in one textfile but not the other one, will be copied to the final merged file
    report1.txt:
    TranDate,ID,TranVal,Comment
    061211,9840,40,done
    061211,9841,30,done
    061211,9842,28,done
    report2.txt:
    TranDate,ID,TranVal,Comment
    061211,9840,40,done
    061211,9841,89,done
    061211,9843,25,done
    Final result should be:
    merge.txt:
    TranDate,ID,TranVal,Comment
    061211,9840,40,done
    061211,9841,89,done
    061211,9842,28,done
    061211,9843,25,done

    Hi,
    I just checked Import-Csv option. I will be able to manage this problem if i can get it in CSV format and work with objects, BUT the problem is in my real file
    the file-format is different which is not comma-separated, instead have "-" as seperator. To simplify the problem i used comma in my question.
    TranDate,ID,TranVal,Comment
    061211-9840-40-done
    Could
    you suggest me if there is any way to convert "-" separators to CSV?

  • "Something went wrong with your request. Please try again later."?

    I ordered a Retina MacBook Pro on the 24th. Today, I went to check the status of the order and it redirected me to https://secure1.store.apple.com/ie/order/sorry saying:
    Something went wrong with your request. Please try again later.
    The only place I can get to is the account homepage. Anyone have any idea whats wrong?
    Cheers.

    Hi Fionnr,
    If you are in USA then you can call them their toll free number 1-800-275-2273 or otherwise if you have an Apple ID then you can raise a request on https://expresslane.apple.com/GetproductgroupList.action
    They will help you further. 

  • RFC Function module-With Only Request message

    Hi
    i need a RFC with only Request message and Response message is not required.
    please help me, how to create a RFC function module with out Response message, and it should contain only Request message.
    i have created RFC in this way:
    RFC doesn't contain neither import nor export parameters. and i have defined one table in TABLE tab which refers to a ztable created already.
    when i imported RFC into XI i came to know that RFC has both Request and Response messages, but i don't need Response message.
    Thanks in advance..help would be appreciated
    Regards,
    Rajesh

    Thankx Michal,
    I have written ZRFC this way:
    insert ZMM_AUTO_GR from INPUT_TABLE .
      if sy-subrc = 0.
        commit work.
      else.
       rollback work.
    im not using neither import nor export parameters..but using only tables parameters. but when imported in XI im getting same table  structure in both request an response.
    please suggest what changes required in above code to invoke my ZRFC in async way.
    you will not get any response in XI- what chages required in my code to dnt get .reponse in XI.
    appreciate your help.
    Regards,
    Rajesh.

  • XI Alerts are not getting triggered with conditions

    I could make Alerts work with all the filters with wildcards(*)-default. But I am not able to make with "Conditions " with restriction like:
    Sender Service: PurchaseOrder
    Sender Interface : *
    Sender Namespace: *
    It works fine if I have * for Sender Service and etc.
    I am using 2004s PI 7.0 sp 9.0.
    Please let me know if anybody had this Problem.
    Thanks in advance.
    Laxman Molugu

    Hi,
    Please do not use PurchaseOrder it means *  only ,,
    Please explain bit clear..
    Why bcoz, if you have multiple senders the you can achieve this in different way,
    suppose if you wolud like to get the name from database using diff tech like DBLookup or some machanism.. then do further process..
    Regards
    Chilla..

Maybe you are looking for

  • Why is my Bluetooth not available?

    Some time ago, for no apparent reason, my Bluetooth on my MacBook stopped working. I have the ICON in the menu bar but it has a lne through it and says it's not available. Can anyone help me trouble shoot this? Thanks in advance.

  • Dynamic variable value based on a value from xml

    I have a invoice template and it is for 4 different companies in my organization. Based on the organization I need to have a different value for a variable that adds blank lines to the end of the invoice. Is there anyway to assign a value to variable

  • How do I update to latest version of Premiere Pro and After Affects from current version 6?

    Cyrrently running version 6 of Premiere Pro and After Affects. How do I go about upgrading?

  • Samsung tv help me remove popups

    I have a 59" samsung plasma tv. It was a store demo and it has pop up ads that show up in the upper left hand corner. How can I get them turned off?

  • USB in virtualbox[SOLVED]

    I am trying to figure out how to use usb in vbox. I added the filters, but when I go to mount the flash drive in the bottom right corner of the guest OS window, all the usb devices are greyed out. Using vbox 1.6.2. What am I doing wrong? Last edited