Hi,
Can I apply two (2) lifecycles to a document?
Please let know.
Thanks.
ta
If there are Accepted Answers, those will be shown by default. You can switch to 'All Replies' by selecting the tab below.
No, that is not possible.
The r_policy_id is not repeating.
Indeed this is not possible. Documents would suffer from some serious identity crisis issues...
What is your use case? In other words, why do you need support applying two lifecycles concurrently?
Thanks Johnny.
My requirement is as follows:
My workflow has six(6) activities. I need one state for each performer like "State1", "State2" to"State6".
Also I need a state "In Process" followed by "Approved" if all performers approve the document or "Rejected" if any performer rejects it.
I think I need to use a life cycle for the 1st one and need to go for workflow method to set a custom attribute to either "Rejected" or "Approved" with an initial value "In Process".
If you have any other ideas, please advise me.
Document Lifecycles and Workflow Activities do NOT need to map 1:1.
What are you planning to use lifecycle (dm_policy) for? If you are uisng it to change ACLs, move locations, set attribute values, then thats fine. If you just want to track "state" of the document, you can just use simple attribute.
By using simple attribute, you can update its value "State1 - Approved".
If you have to use lifecycles, then just create history attibutes (eg event, action, and date) to capture lifecycle state, whether its approved/rejected, and date at which this was done.
Thanks a lot for your help Johnny.
Where can I find more info on simple attribute. history attribute etc.? Are they simply custom attributes?
Yes. They are custom attributes.