You are viewing limited content. For full access, please sign in.

Question

Question

workflow tables Association

asked on September 23, 2023

I am trying to create a report using a query from Laserfiche Workflow tables. The report I am aiming to get is one that shows how long a business process took in addition to the specific business process steps duration. The report also needs to have the name of the entry.

My challenge is how to get the name of the entry given that I cannot seem to get the relationship between the first set of tables in relation to the second set of tables.

bp_instance  
workflow_reporting_log  
bp_event  
bp_activity_link  
bp_step  

So far I have managed to get the below sample report.


 

And

search_entry

search_entry_log

search_instance

Kindly assist.

0 0

Answer

SELECTED ANSWER
replied on September 25, 2023

BP_* tables are the only ones supported for reporting. The others are used internally for Workflow and their structure is not guaranteed to stay the same through upgrades. Search_* tables are temporary and data is purged from them as instances complete.

bp_data will have the entry ID and the name at the starting of the business process instance:

bpd_id    bpd_type    bpi_id    bps_id    bpd_str_data    bpd_int_data
21027    $ENTRY    60923    NULL    Pay (8)    30409167
(bpd_str_data would have the name, bpd_int_data the entry ID)

0 0

Replies

replied on September 26, 2023

Thank you very much.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.