Information about tasks that were assigned to a group

評論

3 條評論

  • Avatar
    Harish Lakshmana

    Jean, 

    In [WF_MANUAL_WORKITEMS] table the column [POOL_ID] indicates the tasks are assigned to Group users. 

    SELECT *  FROM [AP_Workflow_DB].[dbo].[WF_MANUAL_WORKITEMS] where POOL_ID is not null and LEN(POOL_ID)>0

    note: All Task's of an activity instance which are created as part of group assignment will have the same value. So, you can also group the result by POOL_ID to have tasks segregated.

     

    Since you need the report per application, you can use something like below query to get started with data of all Tasks which due to group assignment and is part of the specific application.

    SELECT *  FROM [AP_Workflow_DB].[dbo].[WF_MANUAL_WORKITEMS] where POOL_ID is not null and LEN(POOL_ID)>0
    and PROC_DEF_ID in (Select DEF_ID from [AP_Workflow_DB].[dbo].[WF_PROC_DEFS] where APPL_NAME = 'My Application')

    Hope it helps.

    0
    評論操作 永久連結
  • Avatar
    Jean-Sébastien Renaud

    Hello Harish, 

    Thanks for your help. I think now I better understand how POOL_ID and Activity Instances are working but unfortunately, this won't help me to produce exactly the report that I need. Sadly, in the WF_ACTIVITY_INSTS table, we still don't have the name of the group to whom that group assignment was sent.

    Our application is a HUGE process containing a lot of subprocesses and during the lifetime of the process, a bunch of different tasks could even be sent dynamically to different team. So now some team wants to be able to know at this time, what are all the task that are opened and assigned to our team plus what are all the task that were originally assigned to us but that someone from our team picked up in the queue and is currently working on it.

    I think I have a workaround in mind by using our own database on the side but it will required some development so I was wondering if there was an easier way straight form Agilepoint's database.

    Thanks for your help!

    0
    評論操作 永久連結
  • Avatar
    Harish Lakshmana

    I understand but the group info is not directly recorded.

    0
    評論操作 永久連結

登入寫評論。