Forum Discussion

Chirag's avatar
Chirag
Ideator III
2 years ago

Multiple Lifecycle for single Itemtype

Hi Community,

I have two lifecycles. Based on conditions, I need to choose a lifecycle without relying on the class path. Could it be possible through a server method? Please suggest.

2 Replies

  • Former Member's avatar
    Former Member
    Not applicable

    In Tech Docs, there is the Add Link feature which allows you to select a section and create a vidmate hyperlink.  Is there anyway to style the link with information from the target?

  • Former Member's avatar
    Former Member
    Not applicable

    Hi!
    I ran into a similar issue when I needed to manage multiple lifecycles for an item type. I created a custom server method to select the lifecycle based on conditions like the item's state or properties. For example, if the state is "conditionA", the method will return lifecycleA, otherwise it will return lifecycleB. This makes the code cleaner and more flexible. Be sure to test it thoroughly to make sure everything works as expected.