Skip to main content
September 2, 2021
Question

Issue regarding accepted time of task in task report

  • September 2, 2021
  • 4 replies
  • 0 views

Hi

I am working on version 21.2. 

I have a scenario, wherein I want my task report to display the "Task Accepted Time".

I am using the function:

                            gettaskacceptedtimestamp(tp!id)

When I am calling this function in an expression rule, the rule is running fine and giving the date and time as per the task id passed. However, when I call this rule in the task report and pass tp!id, the value of the column remains blank. Also if I directly call this function in the task report, the value of column remains blank.

Can any one please help me with this issue.

Thanks in advance!!

    4 replies

    selvakumark
    September 2, 2021

    Hi [mention:c4aee5f39c9f4aa0909bbf73f6429f92:e9ed411860ed4f2ba0265705b8793d05],

    The function will return null value for anyone of the following reasons:

    1. Invalid task Id passed to the function.
    2. The task is still not accepted by the user.
    3. The user who views the task report might not have proper security rights set to the parent process model.

    Could you please check and confirm all the above conditions are met?

    komalc3Author
    September 3, 2021

    Hi [mention:a0ec3db366444da2aefc9d100e75b1ed:e9ed411860ed4f2ba0265705b8793d05]

    Yes all the conditions are met.

    gayathris111098
    September 2, 2021

    I think some functions like (averagetaskworktimeforprocessmodel() - scripting functions category) wont work in process report. I don't find a documentation but I remember read somewhere. If that's a case you may need a find a workaround and get accepted time populated in the process/DB and the take it.

    komalc3Author
    September 3, 2021

    Hi All

    The function was not working in the task report, so the workaround I did is, in the interface where there is the grid which calls this task report, over there an expression rule is called which contains the function gettaskacceptedtimestamp()