The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Where is workflow info stored in Confluence database?

stuartu
Contributor
January 10, 2012

Does anyone know where workflow information is stored in the Confluence database (or in the (linux) file system if stored there?)

For example, if I hover over the "Approvals: Edited, Reviewed, Signoff", I get a popup as to who approved|edited|reviewed, and on what date, but I can't find this info in the database.

I am also unable to find where in the database how Confluence determines whether a document is 'Draft' or 'Published'. By querying a draft and published doc in the 'content' table, I see no difference. I thought this detail might be in 'content_perm' or 'content_perm_set', but I couldn't find any linking data for both types.

Perhaps this is stored in the filesystem? Any help much appreciated.

Thanks in advance

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
stuartu
Contributor
January 11, 2012

One of my collegues has just found it.

select * from WIKI.os_propertyentry where entity_key like '%com.comalatech%' and ENTITY_ID = <entity_id>;

In the text_val field, you see

<ApprovalChecks>
<ApprovalCheck>
<name>Edited</name>
<version>2</version>
<approvers>
<Approver>
<approved>true</approved>
<user>sgra0999</user>
<date>2008-10-31 11:14:55.935 NZDT</date>
<comment>Initial import from Word document without change</comment>

...
...

TAGS
AUG Leaders

Atlassian Community Events