Clarity

Expand all | Collapse all

Send reminder of action item expiry

  • 1.  Send reminder of action item expiry

    Posted Jan 07, 2011 04:36 AM
    Hi,
    I've a request to send an email notification If an action item is not approved within 7 days.
    Request is:
    I've process in which one of the step sends and action item for approval ,If the action item is not approved by 7 days, I need to send an email to the approver asking to approve the action item.

    Approval action in that step is manual action.

    My idea is to add a post condition in which I could get the created date and check with system date if its more than 7 days, then i will send that step to next step where I could script a mail to approver.

    The problem is the post condition doesn't allow me to compare created date with system date( and also arithmetic op allowed are =,!=.>.<) no difference operation :(

    I wrote a custom script where I could compare the dates and send an email, but its not dynamic with the step mentioned above, I added the custom script with that manual step , could I make the Custom script action run synchronous with the manual action.


    Could you help in this issue

    Thanks in advance

    Sreeram


  • 2.  RE: Send reminder of action item expiry

    Posted Jan 07, 2011 09:14 AM
    Hi Sreeram,

    You can check the elapsed time for the step from which the action item has been sent. If the elapsed time is more than 7 days you would send an email.


  • 3.  RE: Send reminder of action item expiry

    Posted Jan 07, 2011 09:38 AM
      |   view attached
    Go in the step where you are sending the action Item.
    create a new build condition.

    I have attached the screen shots of the flow.

    Once you are done with the build condition as mentioned in the attached document.
    Direct it to the step where you would be sending an email

    Hope this gets your work done :)

    Attachment(s)

    docx
    Elapsed time.docx   558 KB 1 version


  • 4.  RE: Send reminder of action item expiry

    Posted Jan 07, 2011 10:50 AM
      |   view attached
    Thanks a lot for the quick reply .I designed the condition as such ..but I got the error with split join . could you help me with that.
    following is the screen shot attached of the process flow diagram

    Test_action was the new block i created to send an email notification which has custom script in it.

    so it throws the error at BPM-0672: Un-matched Split-Join pair found : 'BPM-0681: Unknown step(BPM-0680: Unknown type)'-'Mark Timesheet Approved(Rendezvous)'

    for the block Mark Timesheet Submitted
    Pre-conditon is Merge xor

    for the block Approval Action Item
    post condition is Decision point XOR

    i tried all the combination nothing worked. could you help


  • 5.  RE: Send reminder of action item expiry

    Posted Jan 07, 2011 11:07 AM
    did you check Pre-conditon is Merge xor for Approval Action Item


  • 6.  RE: Send reminder of action item expiry

    Posted Jan 07, 2011 12:57 PM
    i tried all combinations it didn't work :(


  • 7.  RE: Send reminder of action item expiry

    Posted Jan 07, 2011 02:12 PM
    if you can send me your xogged process xml.May be I can check


  • 8.  RE: Send reminder of action item expiry
    Best Answer

    Posted Jan 18, 2011 04:52 AM
    hey thanks
    I tried creating the new process with the same splits and joins and it worked..it didn't create problem now......I don't know y it created the problem before..
    Thanks however


  • 9.  RE: Send reminder of action item expiry

     
    Posted Jan 25, 2011 01:15 PM
    Thanks for letting everyone know you were able to resolve.

    Chris


  • 10.  RE: Send reminder of action item expiry

    Posted Nov 21, 2012 11:09 AM
    I am not sure if this is an answer.
    It sounds like..."My code is not working" ..."try to write it again from scratch"...
    I am having the same problem on a couple of processes and I really do not want to write them again if it is not clear where this validation error comes from...

    Any suggestions..?


  • 11.  Re: Send reminder of action item expiry

    Posted Dec 10, 2018 10:21 AM

    Hi Sree Ram, If you can share the snapshot of how you implemented the post condition, it will be helpful 



  • 12.  RE: Send reminder of action item expiry

    Posted Jan 07, 2011 09:38 AM
    You don't have to build a PROCESS based solution for this though,

    you could just run a simple batch job every day that examined the data and sent an email from the job.

    (building the job in whatever language you like/you can code in, it can be GEL or PL/SQL or Java or ..... )