locked
Timeout workflow is not working RRS feed

  • Question

  • Aim: To Calculate the Age of the Record From created on date.

    I Followed this Link  :    Workflow

    Steps Involving:

        1.Create a new Numeric Field in a form for capture Age.

    I create a Workflow with the Following Condition,

        2.update the age field as 1 if the age field does not contains data.

        3.Then use the Timeout Condition and update the field  increment by 1.

    The Workflow will Trigger Record creation and Age field change.Please Refer the following Screenshot.

    I need to increment the age field value by 1 on every one minute  from created on field .How to do this through workflow?





    Wednesday, November 12, 2014 10:05 AM

All replies

  • Hi Vijay,

    I think, we need a simple custom workflow for calculating the age. The custom workflow takes CreatedOn as input and calculate the difference between Current Date and CreatedOn and use the value for updating in the numeric field.

    You can create a system workflow which should be triggered on create of the record and it should also be a child workflow. Workflow steps are as follows

    1) Call the custom workflow

    2) Timeout for one day

    3) Call the same workflow as the child workflow

    In this way, the workflow triggers daily and update the numeric field.

    Hope this helps.

    --

    Thanks

    Gopinath

    http://mscrmtechie.blogspot.com

    Thursday, November 13, 2014 7:27 AM