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.

  • 0 オフライン in reply to Premal

    Thanks Premal, Appreciate u r inputs. 

    Today morning only i was able to find it. But i was not able to under stand one thing OOTB Express ECO is working fine, without above code change. But My custom Item type was not working without above code.

    Do you have any pointers?

    Regards,

    Nara

Reply Children