TES 6.0.3 JOB Triggers Events Action behaviours

please advice how we can showcase following scenario in a customer POC.
Scenario:
1. Customer Run  a JOB
2. JOB has following exit STATUS
a. JOB exit status
  i. EXIT 0
  ii. EXIT 1
b. Script OUTPUT
  i.  SELINUX=permissive
  ii. SELINUX=enforcing
  iii. SELINUX=disabled
3. if EXIT 0  do nothing
4. if EXIT 1  email to administrator
5. if SELINUX=permissive  --> email action
6. if SELINUX=enforcing --> run JOB-a
7. if SELINUX=disabled --> run JOB-b

Hi,
If your job is setup to trak 0 as a normal completion and anythign else other than 0 will be considered as abnormal completion then you may use a job event to look for abnormal completion so to fire off an email action.
Im not sure if i understood your question regards the SELINUX selections but if you meant that the job output for your script will be one of those selections you've mentioned then if i  were you i would use a global variable to host the job output  and then use variable events to deal with the different outputs/values so to trigger the appropriate job/action.
Good luck

Similar Messages

  • What are the selections when defining a job triggered by an event?

    I use SM36 by defining a job triggered by an event. I click "Start conditions" button, then click "After event" button and place the event name.  I wonder if I would have to continue to click the button "Immediate" button and save it?  or just save it without clicking the "Immediate" button?
    Thanks and this question is urgent!

    Hi!
    No you only save and after define the step!
    If you click Immediate, your job start immediatelly and not after event.
    Max

  • Alerts -triggering event

    Hello All ,
    i am working on Alerts .
    can any body please tell me , what is " Triggering Event " ,how it is working ,can i get some detail explanation of this .
    Thanks,
    Aravind .

    Hi Aravind,
    <b>Triggering Event</b> means that you need in certain condition annonce that Event  is happend. And then every one who "waiting" for this Event is happened starting to do their jobs. In Alert example when a confirmed BP is a "Golden Customer" you want to popup an alert to the user.
    So what you need to do in your ALERT class  when you check that you need to popup an alert you <b>Triggering your Event</b> and in customization when you created an alert you insert this alert as <b>Triggered Event</b>.
    Create an Interface <b>ZIF_CRM_IC_EVENTS_CON</b> and add there Interface <b>IF_CRM_IC_EVENTS_CON_BASE</b> in your inerface add your Custom events on <b>Attribute</b> section. In customization you will see your Custom Events so you can choose it.
    Good Luck
    Eli Steklov
    <b>Please Reward Points if it Helped :-)</b>

  • Regarding Workflow triggering event.

    Hi,
    Description: I have created a Object type and a event for the same by transaction SWO1, after that i have created a WorkFlow(WF) for which the triggering event is the event i have created in the Object Type. There is a report in which i have used the FM "SWE_EVENT_CREATE" and passed the Object Type, Event Name, Key field values and the creator.
    Problem: When i am executing this report the FM is called and the sy-subrc after call is 0, stating that the call was succesfull, but the WF is not getting triggered when i went to transaction SWI2_FREQ to check this WF is not at all triggered. But when i tested from WF transaction SWDD it is working fine.
    Could anyone please explain me on this. or is there any other way to use an event of a Object Type to trigger WF.
    Thanks and Regards,
    Raghavendra Goutham P.

    hi gauthum,
    try this chks.
    Workflow Trace On/Off - SWU8
    Display              - SWU9
    Delete              - SWU10.
    Work Item Analysis    - SWI1
    Identifying workflow for the work Item :
    Tx : SWI1 - Enter the workiem id which has been identified in workflow log
           The details consists of workflow of the workitem.     
    WorkFlow Errors :
    1. Workflow Not Started           - Using Event Trace we can Identify
    2. Started but No Proceeded           - Wrong Object Keys
    3. Problem in Work Item Execution
         Dialog Work Item          - Agent Determinaion Error ( Position,Role,User )
                             - Role Resolution Error
                               Reqd Element would no be
                               Set in Binding
         Background Work Item      - Make Foreground and Test once Sucessfull make it Back round
    rgds
    nver
    if hlped mark points

  • Work Flow - Triggering Event through Webdynpro

    Hi,
              I am new to Workflow. I have generated the Workflow related to claim (Objects as ABAP Class). Now I have generated Webdynpro component and through this I need to execute the Workflow. I have used the FM SAP_WAPI_START_WORKFLOW & SAP_WAPI_CREATE_EVENT. To raise the event 'cl_swf_evt_event=>raise'. I have used. But this is not triggering event. So, Any one can help me on this issue.
    In workflow using ABAP CLASS is essential or Business object.
    In my case I have used only ABAP CLASS. In workflow I have generated the Triggering event as SAVE. In webdynpro I have generated the code in 'ONACTIONSAVE'. When ever the user clicks SAVE' button. Workflow shouild trigger and approver should receive the mail as notification and he/she will approve/reject the claim.
    Thanks & Regards
    Kannappan

    After SAP_WAPI_START_WORKFLOW do you have COMMIT WORK?
    Does the SAP_WAPI_START_WORKFLOW return some error message?
    Are you sure that the event is not triggered? Check this with event monitor SWEL (turn monitor on in SWELS).
    Also, ready Jocelyn Dart's blogs about ABAP OO. She have clear instructions about how to trigger ABAP OO events.
    Regards,
    Karri

  • How to get the table Event action in the controller???

    HI
    Based on my requirement i have extended my controller,but i want to perform some validation like ,,,,
    i have table in one region ,in which one column is having a Button (flex field) action with image,
    i want to write the code in the controller according to the validation ,,,,but i am unable to find the event action in the main controller,
    how to get the event action ?,,,,, of the item type as image
    thanks in advance
    Kash

    If not you can use image component with clientListener and serverListener to preform your requirement set clientListener click event and then inside clientListener java script method call the
    serverListener then will execute serverListener method.

  • Triggering event from for-each

    Hi,
    I have a process that takes long to execute, I want to be
    able to send a progress notification to the user with the hope of
    not getting him bored or impatient, for some reason I can't achieve
    it and I don't know where to go for help, if you know how to solve
    this, any help will be greatly appreciated.
    I have some code like this:
    <code in mxml for my application>
    - component declared .. onXEvent="showProgress()"
    - script for showProgress calls refresh for ProgressBar
    Component
    </code in mxml for my application>
    <code for my component>
    for each (var myObject:xObject in MyCollectionOfMyObjects)
    // do some complex logic and calls methods for this item
    // creates and triggers event for progress notification
    </code for my component>
    I would expect to see my ProgressBar advancing as the process
    is completed, but for some reason the process seems to take control
    of the execution and no onProgressEvent is fired until the foreach
    finishes execution. It will run perfectly in the debugger (step by
    step) but it doesn't work at runtime.
    Is there any way I can achieve this in Flex?? Is there any
    event class I can use to solve this issue?
    maybe anyone has done this before or knows a link to more
    information on this subject?
    Thanks in advance
    William Vega
    MCSD / Beginner Flex Developer

    Flash functions execute within a frame. They finish before
    any UI rendering is done. You will have to use callLater , somehow,
    within your loop to give the UI a chance to draw.. There is a more
    detailed answer to this thread somewhere else.
    Tracy

  • How to use Mulitple DAQs with a single triggered event on only one of the DAQs

    I have three PXI6115 and would like to tie all these to a single triggered event on one of the DAQs. I've scaned the examples and any assistance would be greatly appreciated....

    TCjr,
    Please refer to your other post:
    How to use Multiple DAQs with a single triggered event on only one of the DAQs

  • Triggering event FMRE-CREATED in an infinite loop

    Hi guys,
    Iu2019m having a big problem in Public Sector Management with Founds Management Government when I create a Found reservation Tcode FMX1.
    My problem is the triggering event FMRE-CREATED  (event to start the Workflow) because when the document is created, this event is generated by the system which is fine, but inside on my Workflow I have a task to change the status with FMRE-SetLock, when this method is executed, automatically trigger an event FMRE-CREATED again, so my WF gets in a infinite loop.
    How can I tell the system to donu2019t trigger this event when the status is changed?
    Thanks a lot
    Felipe Uribe.

    Hi,
    but inside on my Workflow I have a task to change the status with FMRE-SetLock, when this method is executed, automatically trigger an event FMRE-CREATED again, so my WF gets in a infinite loop.
    How you changing the status? Check any Function Module or BAPI to change the status.
    You have acheive it via Start Condition, check are you getting entry in the Table  SWFREVTLOG for Creation.
    If second time creating, check for the entry in the table, if found not allow it.
    Regards,
    Surjith

  • JTable: double clicking triggers some action

    Hi there,
    A double click on a row of a JTable makes usually the underlying cell editable. This is the default behaviour of a JTable.
    In my application, the JTable only shows data, without giving users editing rights. Beside that, I'd like that a double click on a row, triggers other actions, like for example copying the selected row to the clipboard or sending it per mail....
    How do I have to configure the JTable for these purposes? Do I have to override the default ListSelectionListener? Did anybody make experiences with that?
    Thanks for your help,
    Best regards,
    edar

    like for example copying the selected row to the clipboardCtrl-C is the default KeyStroke combination for this.
    Beside that, I'd like that a double click on a row, triggers other actions...Then you need to add a MouseListener to the table. Then use:
    rowAtPoint(...);
    columnAtPoint(...);to determine which cell was clicked

  • Issue in triggering events in task

    Hi,
    In my workflow there is a fork and after a fork there is a task for which triggering event is defined and this particular event is triggered from zprogram and agent for task is determined using a rule.
    In zprogram logic is written as event (triggering event for task) is triggered when all 4 users in fork presses submit button.
    Problem is when 4th user presses submit button workitem is created in workplace of agent defined for task and in 4th user as well.Workitem should not be created for 4th user.
    Please suggest.
    Regards,
    Kaustubh.

    Hi Rick,
    I have defined single task in all branches of a fork with CONFIRM END OF PROCESSING tick in task. Task is to call ztransaction.
    Problem is if all users in a fork enters into transaction and by clicking BACK comes out without pressing SUBMIT button in ztransaction and clicks COMPLETE WORK ITEM flow will go to task defined after fork which i dont want.
    Flow should go to task after fork only when user presses SUBMIT and COMPLETE WORK ITEM button.
    Hence I have created triggering event for task which gets triggered only after all user presses SUBMIT.
    Please suggest.
    Regards,
    Kaustubh.

  • Multiple BIUs with one triggering event

    Dear Experts,
    I am trying to create a B1i scenario that does something similar to the following:
    1. Journal Entry created in sender system by a user
    2. Journal Entry created automatically in receiver system by B1i
    This much works so far, my question is the next two steps
    3. Another Journal entry created automatically by B1i in sender system
    4. Finally another journal entry created by B1i in receiver system
    So for one triggering event (manual adding of JE in sender) I want B1i to create 3 new documents - basically have 3 bius run from one triggerring event.
    I've had a bit of a look around and haven't really found anything useful; is this easier than I am thinking or will there be some trick to it?
    Thanks in advance,
    njmog1

    To be honest, I solved it in quite an ugly way..
    First, I set it up so that B1i does not ignore the Events created when it creates a document (You can see more on that on page 9 of the guide 03. Extensibility)
    Next I created a new transaction code in Business One journal entries called "B1i"
    So basically I have 4 BIUs, the first one is triggered by an outgoing payment. and B1i creates a journal entry - and I set the memo to be something like "JE created by B1i Step 1".
    For the second BIU, the filter is "Transaction Code equal to B1i and Memo = "JE Created by B1i Step 1" - this creates another JE, and I set its memo to be "JE created by B1i Step 2"
    For the third BIU, the filter is "Transaction Code equal to B1i and Memo = "JE Created by B1i Step 2" - this creates another JE, and I set its memo to be "JE created by B1i Step 3"
    etc. etc.
    It's an ugly solution but I got it done quite quickly, If anyone has any suggestions to improve it, let me know! And if it's not clear to you, let me know what I need to clear up

  • Exception while triggering an action in consumer portlet.

    Hi,
    This following exception is noticed while triggering an action from consumer portlet in WSRP. Same request is working fine is standalone producer side application.
    <env:Body>
    <env:Fault xmlns:v1="urn:oasis:names:tc:wsrp:v1:types">
    <faultcode>v1:OperationFailed</faultcode>
    <faultstring>Http Error: [404] : [null].</faultstring>
    <detail>
    <v1:OperationFailed/>
    <fd:FaultDetail xmlns:fd="urn:bea:wsrp:ext:v1:types">
    <fd:created>2009-12-22T22:23:26.904+05:30</fd:created>
    <fd:trace>com.bea.wsrp.faults.OperationFailedException: Http Error: [404] : [null].
         at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doGetMarkup(MarkupServiceHandler.java:425)
         at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doPerformBlockingInteraction(MarkupServiceHandler.java:718)
         at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doService(MarkupServiceHandler.java:241)
         at com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:68)
         at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:242)
         at com.bea.wsrp.producer.wsee.ProducerEntryPoint.handleResponse(ProducerEntryPoint.java:87)
         at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:287)
         at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:271)
         at weblogic.wsee.ws.dispatch.server.ServerDispatcher.callHandleResponse(ServerDispatcher.java:341)
         at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:189)
         at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
         at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
    Above log is captured using the WSRP monitor. If any one came accross this issue? Please help me in giving pointers to close this issue.

    hi,
    Was able to debug the issue. the problem is with the target JSP.
    Some of the include statements in the target JSP are pointing to a wrong URI. so the request is failing in WSRP.
    It looks silly but usefull. I overlooked this issue beacuse i am unable to find issues on producer side because of this.
    cheers,
    Vamsi

  • Which container element contains the triggering event name?

    hi,gurus,
    i have a workflow template, and i want to use a 'switch' to deal with different triggering event inside the template logic.
    but i can not find a element in the container which supposed to contain the triggering event name.
    could you please help me ?
    br.
    zj

    Hello,
    The element which stores the name of triggering event is '_EVT_NAME' which is present in the event container. To use it in the workflow template, you have to create an element in the workflow container and bind this element to the above mentioned element through the binding for triggering event.
    Thus you can use the workflow container element in the switch.
    Hope this will help.
    Regards,
    Samson

  • Tree component event action

    Hello
    There's a page which contains the following 3 components: Input textfield, Button, Tree
    I made the following settings of them:
    I set the "event action" at the tree node, and so did I at the button properties.
    When I click on the button, the action runs and set the value of the Input textfield:
    �this.i_textField1.setValue("something");� - the Input textfield display it as it should.
    When I click on the tree node and the event action runs (it can be tracked in debug mode) which runs �this.i_textField1.setValue('something');�, but the textfield doesn't display it.
    Any suggestions?
    Thanks

    The root problem is that the tree node component always behaves as though it had an immediate property set to "true". You'll get the same behavior from button or hyperlink or any other action component is you set immediate="true". The text field submitted values are not cleared, and so the text field redisplays them instead of the value that is set in code or obtained by evaluating the binding on the session bean.
    There is a work-around. There is a page bean method, erase(), which will clear all submitted values. Call this before you set the new values, e.g.:
        public String treeNode1_action() {
            this.erase();
         textField2.setValue("Tree Node");
            staticText2.setValue("Tree Node");
         getSessionBean1().setTemp("Tree Node");
            return null;
    [/code
    // Gregory                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Time Capsule external USB drive won't reconnect remotely over Back To My Mac

    I'm running a Mac Mini at work, connected via ethernet to an enterprise network (I have no idea what routers they are using, or how they are set up). At home, I have a MBP laptop and a Time Capsule (hardwired to cable modem) with an external USB driv

  • Port number is changing in the URL!

    Hello, When i try to execute a webtemplate in the browser, the default port number(ICM profile configured in RZ10 icm/server_port_0 PROT=HTTP,PORT=8080,TIMEOUT=1800)is modifying in the URL to 8100, and unable to display the page. Again when i modify

  • Change BBD in BATCH MASTER through Pisheet

    hi experts, client requirement is that they want to chnage the BBD in MSC2N of FG through PI hseet. once the batch is created in system . they will give the BBD in CO60 that will go and sit in MSC2N. for eg - if BBD is 12.07.2012 . they may give 10.0

  • Entry Date Wrong in report RPLICO10 (Transacton Code:S_AHR_61016362)

    Hi I have a problem in the Report RPLICO10 Flexible Employee Data. When the report executed we observed that the Entry Date is coming  wrong.  Instead of Date of Joining (supposed to get from Info Type 0000)  the system taking the Start date (Date of

  • Setting up shortcut keys

    I've never owned a Nokia before and just got myself a 8800. However, i've been frustrated by not being able to set up the games or applications as a shortcut. I would be grateful if someone could let me know how or if this can be done.