Regarding Signoffs Tab

Hi 

We have a Custom ItemType "MyChange" and it is having a relationship "Signoff".

For "MyChange", we have created a instance which is "Change1" and it got released tr workflow process.

Under "Signoff" tab, We are able to view right SignOff Information.

User has revised "Change1" from Rev A to Rev B.

Under SignOff tab, user is able to see Rev A related SignOff Info.

Expected: It should show Rev B related SignOff details.

Any help would be appreciated.

Regards

Parents
  • Hello Nara,

    In Workflow Signoffs Form

    In calculate_html field, change loadAML query as below

    q.loadAML("<Item type='Workflow' action='get' select='related_id(*)'>" +
    "<source_id>" + document.item.getAttribute("id") + "</source_id>" +
    "<related_id condition='is not null'>" +
    "<Item type='Workflow Process' action='get'>"+
    "<state>Active</state>"+
    "</Item>"+
    "</related_id>"+
    "</Item>");

    Using above query whenever you will revise any item, you will be able to see sign-offs of new revision

    Regards

    Premal.

Reply
  • Hello Nara,

    In Workflow Signoffs Form

    In calculate_html field, change loadAML query as below

    q.loadAML("<Item type='Workflow' action='get' select='related_id(*)'>" +
    "<source_id>" + document.item.getAttribute("id") + "</source_id>" +
    "<related_id condition='is not null'>" +
    "<Item type='Workflow Process' action='get'>"+
    "<state>Active</state>"+
    "</Item>"+
    "</related_id>"+
    "</Item>");

    Using above query whenever you will revise any item, you will be able to see sign-offs of new revision

    Regards

    Premal.

Children