Triggering of Action in recurring manner

Hi,
I have a situation where an action needs to be triggered in a recurring manner. Here is an example.
1) An action(email) is scheduled to get triggered two weeks from today on condition that status of the document is incomplete.
2) Now after the lapse of 2 weeks this action needs to get triggered at an interval of 5hrs. So every five hrs an email needs to be sent to the concerned person if the status of the document is incomplete.
The first part is quite standard and it is achieved. I am facing problem in realizing the second part.
Any hints will be of great help.
Thanks & Regards,
Ambarish

Hi Ambarish,
Seems your second requirement refer to Workflow
functionality. I mean, you can achive action to be
triggerred by workflow.
In workflow you can define time and reminder/escalation
steps.
Also you may also try to set Action to be trigger
by custom program (selection report). Then schedule
this customer program. To achive this, I think you need
2 actions at least. One Action triggered based on schedule
and the other one just for reminder/escalation.
Cheers,
Gun.

Similar Messages

  • 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

  • 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

  • Identify partner which triggered the action

    Hi There,
    From my CRM Order multiple outputs/actions will be triggered. Action profile and everything is being configured.
    For some post processing work I need to identify the partner for which each action was triggered. I am looking PPFT* tables for this but couldn't find the exact field for this.
    Any suggestions on this will helpful?
    Regards,
    Rams.

    Hi Rams
    For E mail you can check the table SOST and SOOS.
    Thanks

  • Workflow not getting triggered from Action definition in CRMD_ORDER

    Hello Experts,
    I have created a workflow which should send mail to partner team in a Change Request.This workflow should be triggered when a particular Zaction is performed on the CR.Zaction is created properly and my workflow is also assigned to it.I have also followed OSS note-733675 and created a workflow container with name "BUSINESSOBJECT" to get the application data into my workflow when the action is performed.My workflow is a background processing one.
    I have tested it separately by providing GUID foreground and it works perfectly fine and mail is sent to partner team.But when i perform the action,mails are not getting triggered nor the workflow.I am not even able to check the logs.I am not even able to know if all the action has triggered my workflow.Kindly help.Would appreciate your contribution.
    Regds
    VLP

    Please check in SWI2_FREQ whether the Workflow is really getting triggered.
    Thanks
    Arghadip

  • Triggering Dynamic actions when updating an Infotype using a FM

    Hi all,
    This is the scenario.
    I am trying to run a Transfer action, (80), which updates the Infotype 0000 and Infotype 0001. When the entry in the Infotype 0001 is saved, a dynamic action is triggered and a custom infotype is updated automatically. I need to find a FM that takes care of any dynamic actins associated to an Infotype.
    I tried using a BDC, but I was not successful. While using the FM HR_INFOTYPE_OPERATION, I am able to update the data into the infotyes 0000 and 0001 but the dnamic action is not triggered. Can someone please suggest a solution.
    Thanks,
    Amar

    Hi,
       Thanks for you r reply. Well I am new to dynamic actions, but this is the Dynamic action that has been written.
    GET_DU(ZHRDUDYNCALL)
    COP,9009,,,(P0001-BEGDA),(P0001-ENDDA)/D
    ----P9009-SEQNR=P0001-SEQNR ---***
    P9009-AEDTM=P0001-AEDTM
    P9009-UNAME=P0001-UNAME
    P9009-DU_CD=RP50D-FIELD1
    --END OF ENTRY IN TABLE PA9009--
    --CREATE ENTRY IN TABLE PA9009----
    SY-DATUM=SY-DATUM
    GET_DU(ZHRDUDYNCALL)
    DEL,9009,,,(P0001-BEGDA),(P0001-ENDDA)/D
    P9009-DU_CD=RP50D-FIELD1
    --END OF ENTRY IN TABLE PA9009--
    The FM that I am using goes like this:
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
      EXPORTING
        infty                  =  '0001'
        number                 =  lv_pernr
      SUBTYPE                =   wa_0000-MASSN
      OBJECTID               =
      LOCKINDICATOR          =
       VALIDITYEND            = lc_endda
       VALIDITYBEGIN          = wa_source_data-begda
      RECORDNUMBER           = 1
        record                 =  wa_0001
        operation              = 'COP'
       TCLAS                  = 'A'
       DIALOG_MODE            = '0'
      NOCOMMIT               =
      VIEW_IDENTIFIER        =
       SECONDARY_RECORD       = proposed_values0001
    IMPORTING
      RETURN                 = return
      KEY                    =
    Please let me know if there is anything more I need to do?
    Thanks,
    Amar

  • Triggering print action

    Hi All,
    I have maintained the new print action profile. if i select the print button in portal its showing smartform output, but it's triggering again and again without selecting the print button.
    Thanks,
    Subbu

    Hi,
    Give Max 1 action for each action defination
    in the action merging field of your action details.
    So that it will restrict the multiple actions triggering.
    If you have multiple process types assigned to your action then give Set Highest Number of Processed Actions
    and then go to action merging and select the radio button
    one unprocessed action for each processing type
    Give  Max  1 successful action under number of processed actions.
    Reward points if it helps.
    Regards,
    Madhu
    Edited by: madhu kunduru on Mar 26, 2008 5:09 PM
    Edited by: madhu kunduru on Mar 26, 2008 5:12 PM

  • Triggers and actions stopped working, now plays start to finish

    My edge file ive been animating has been working and working well... near the end of wrapping the project up i find!
    that the preview now plays from start to finish,,, skipping all stop commands and button actions.
    any way to fix to make it recognize the actions!
    -Scott

    Hello Scott,
    This could be the sign that you have an error in your code in which case an animation will play to the end skipping all stops.
    Please check at the bottom of your screen to see if you have an error message.
    You can them click on  the arror in order to get the code window where the error occured as shown bellow. You will see a red dot. Then correct your error.

  • Mail triggering using actions

    Hi Gurus,
    Using actions I am sending the sales order conformation mail to the customer, it is working properly, but it is going to the Junk box of the customer mail but I want to send it to the inbox of the customer because the customer will delete all the junk mails without seeing the mails.
    Can anybody suggest how to solve the problem?

    Hi Devi,
         The problem bcos of customer:
    ask him to create separate folders and filter based on firstname, companyname etc...,
    thanks and regards
    sk

  • Triggering client actions from powershell

    Is it possiblle to use Powershell to trigger the Client Actions in a task sequence. Im looking to get this done, right at the end.
    Fredrik Borchsenius |
    http://www.deploymentstuff.com |
    LinkedIn |
    Lumagate AS

    Yes, you can. See for some examples:
    http://psrightclicktools.codeplex.com/wikipage?title=Client%20Actions
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Gnome Power Off menu not triggering any action

    After a couple of hibernation / restoration processes the Power Off menu suddenly starts to no longer work correctly.
    Regardless which of the options I choose, be it Suspend / Hibernate / Shutdown, no action is executed.
    Sometimes this problem occurs after 2 hibernation restores, sometimes after 3 etc. I cannot really trigger down the problem. The logs do not show any error.
    Does someone notice the same effect?

    gnome 3.8 can use gdm(screen saver is integrated into it) or xscreensaver. You will need either one of them.

  • TRIGGERING DYNAMIC ACTIONS THROUGH PROGRAM

    Hi Experts ,
    I would like to know is it possible to trigger the dynamic actions through program.
    Please explain me the details.
    Thank you.

    As far as i know ,Dynamic Actions dont trigger in Batch Input Session. So what you can do is modify your batch input program so that it handles the same checks and logic that you configured in the T588z table.
    This is the documentation from SAP.
    Note on creating a batch input session:
    Dynamic actions are not processed in a batch input session.
    In batch input, you must specify the exact sequence of the screens. To ensure this is the case, you must have already programmed the dynamic action checks before you create the batch input session.
    To avoid errors only the static actions are processed when you program and process a session. Infotypes that usually only appear in the system as a result of a dynamic action should be updated by calling up the transaction separately.

  • 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

  • "remember action" checkbox triggers the ACTION??? Crazy!

    Usually, a "remember this action" checkbox depends on an ACTION which will be decided AFTER clicking ANOTHER trigger like a "delete" button. In other words, the single act of checking the checkbox or not, doesn't trigger anything yet, until specifically decided by user with ANOTHER click.
    In iTunes, I synchronized my iPhone's contacts book, which I dramatically edited after country move, and checked "remember this desicion" before to click on the "whatever-its-name-was" button -e.g. "resolve", or "choose", or "next"…- and after a permission request, iTunes WENT AHEAD AND CHOSE ALL THE LEFT -computer- DATA TO KEEP!!
    Yes, there was a warning, but FRIENDLY APPLICATIONS DON'T USE THAT CHECKBOX AS THE TRIGGER FOR THE DANGEROUS ACTION!
    How do I revert the damage??? (I've seen deleted sms kept in the iPhone, so there could be a chance…)
    Bad, bad…

    I've found it... xD
    Cost Decision (commit) populates the "Optimizer Decision"
    than
    Resource Decision (commit) populates the "Planner Decision"
    So in the workflow i've created two sequential steps for the two decisions: (with the same conditions as explained here
    http://msdn.microsoft.com/en-us/library/office/websvcproject.projectdataset.projectrow.planner_decision_di_pj14mref(v=office.15).aspx)
    And WOW.... this work for me!!!!
    n.b. i've wrote here maybe it could be helpful for someone else.
    Regards
    Daniele
    Daniele

  • Remotely triggering an action in InDesign?

    I see a lot of ways to solve this problem and I can't seem to decide which solution is least bad. Advice please.
    I have an environment where InDesign deals with linked images on a remote AFP fileserver, and I would like a script to trigger and run in InDesign when a photo is added to a directory on that fileserver. The model in which I am thinking about this in is the afterAttributeChanged event, which gets fired on a Link if the link status changes to LinkStatus.LINK_OUT_OF_DATE. Of course this model doens't work if the photo is not linked. (In this case, the newly added photo will be replacing an existing FPO photo, but it cannot overwrite the FPO photo, it needs to have a different name. So using the afterAttributeChanged event is not feasible).
    My environment is all Macs running CS5. Preferred scripting language is JavaScript.
    For OS technical reasons, detection of the files newly added to the fileserver really has to run as a process on the fileserver to be reliable. (Detection is implemented as a kqueue in perl, but that's not really important). So the simplest implementation would be a simple TCP server on the fileserver that accepts a connection from each InDesign client with the Socket API, and then a thread or listener that woke up whenever there was data on the socket to read. (Let's say a new file is added once/hour and I would like InDesign to notice the file within five seconds.)
    Unfortunately, InDesign's socket API does not support this, and there's no support for select()/poll() on an existing connection to learn when there is data to read, nor is there support for non-blocking IO. So that's right out.
    Approach I: It looks like the Socket API does support non-blocking checks for incoming connections with Socket.poll(), which is really more like a combination of select(2) or poll(2) and accept(2) and not really just plain poll(2). So I could have the InDesign script create a socket to listen on for notifications of file updates, then connect to the server on a secondary connection, tell the server its port number, and then call Socket.poll() on the socket from an idle handler. This means I am polling the TCP socket the idle event handler, which seems bad but not that bad. It's abusing the Socket API because it doesn't support a reasonable approach. And there's no support for INADDR_ANY, so I need to guess at a free TCP port to listen on, but I guess I can iterate so it's not a big deal.
    Approach II: Instead of doing all of that, I could write a small helper program to run on each machine that connects to the server and waits for data. When it receives that data, then it could send a message to InDesign telling it the filename. This seems like it would work, but would be kind of cumbersome (more programs, an extra process, etc.).  Also, then, how should the process signal InDesign?
    Approach II(a): Signal InDesign with AppleScript. My process could just run osascript -e 'tell app "Adobe InDesign CS5" to do script "newPhoto.jsx"'. That seems like it could work, but also there might be annoying problems if message happens to come in while the user is in a modal dialog box.
    Approach II(b): Use Bridgetalk. I'm not sure how I would do this -- I don't see a library that I would link my helper program against, so I suppose I would have to  have InDesign direct something like Adobe Bridge to talk to my helper program and hope that Bridge's scripting has a richer set of primitives for asynchronous IO.
    Approach III: Use Adobe Bridge's HttpConnection.async=true object, and use asynchronous IO in Bridge to implement my helper process, and then have it send messages to InDesign via BridgeTalk.
    I don't really like any of these solutions. I feel like Approach II(a) might be better since it doesn't abuse InDesign's idle loop (how fragile is that?), but maye Approach I is cleaner and more maintainable? I have no deal idea on II(b) or III, but it feels like adding a dependency on Adobe Bridge is may be unwise.
    Has anyone implemented this sort of thing? Signalling InDesign to perform a task from another process on the same machine, or via a remote machine, with any success? What does your implementation experience tell you?
    Thanks!

    SuperMacGuy: Thanks for the thoughts. I'd really rather the discussion not head towards how to monitor the files outside of InDesign -- I have a solution for that that works pretty well (kqueue), but we can talk about it another thread if you like. I'm very happy with my solution.
    For me, the question is triggering InDesign. Do you do that from your script? It sounds like you really doing batch processing, which is not my application here. To the extent that you have anything analagous, I guess your entire batch workflow is written in AppleScript so your easy answer is the equivalent of II(a), though you don't need to run "osascript."
    If a user needs to run the automated app, they run it. Or if they can't be interrupted, then they stop it. I'd be worried about how this entire process runs if a user is doing something completely different (or in the modal dialog as you mention). [...]
    But, there is the possibility that you could use InDesign server to handle your process more reliably.
    In short, no. The use case here involves the production editor actively working on a document in InDesign while the photo editor is preparing final photos to replace the FPO placeholders. The script in InDesign is short and sweet, and it's also not the end of the world if it doesn't happen automatically or gets deferred. It's really quite analagous to updating links.
    InDesign server would not work because the layouts are actively open and being worked on in ID Desktop. It is also too expensive -- paying around $15k  for this little bit of added functionality doesn't make financial sense.
    I've never considered trying to run the notification process on the server, mainly since I'm not in IT nor would consider windows programming.
    Err, this is probably a better question for your other thread, but how did we get to Windows programming? I guess you must be running a Windows fileserver? I guess my solutions wouldn't work for you then.

Maybe you are looking for