How to get value of Lifecycle phase of part where attribute is “REV.RELEASE_TYPE” ? in java

I can’t get the value of lifecycle  phase using  


Add Comment
2 Answer(s)

Hi Mayur,

Are you trying to get the lifecycle phase of BOM-Items ? You can elaborate the question.

If your requirement is to get Lifecycle phase  you can use the below code.

You can use the below code for reference.

IItem item = (IItem) m_session.getObject(IItem.OBJECT_TYPE, “711-021263”);
                String lifecycle = item.getValue(ItemConstants.ATT_TITLE_BLOCK_LIFECYCLE_PHASE).toString();

                ITable bomTable = item.getTable(ItemConstants.TABLE_BOM);

                Iterator<?> myIter = bomTable.iterator();

                while (myIter.hasNext()) {
                    IRow m_row = (IRow);
                    String life = m_row.getCell(ItemConstants.ATT_BOM_ITEM_LIFECYCLE_PHASE).toString();
                            “Lifecycle of bom ” + m_row.getValue(ItemConstants.ATT_BOM_ITEM_NUMBER) + ” is ” + life);



Agile Angel Answered on October 30, 2018.
Add Comment

Thanks for the answer .

Agile User Answered on October 31, 2018.

Welcome Mayur.

on October 31, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.