Skip to Content
avatar image
Former Member

Can workflow be auto approved ?

Hello Experts ,

We are on Sourcing 10  and have a requirement to implement workflow for project document . The workflow needs to be explicitly approved for a scenario . We are trying to find if we can do it by any script . Is it possible to approve workflow by some script. We are using multi level sequential workflow , it needs to approved 1st level by some script and it should go to 2nd approver who will approve as normal system approval .

Also is it possible to do auto approval if the workflow is pending with approver for few days time ?

Thanks for your help



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 29, 2015 at 05:09 PM

    Hi Sudipta,

    Although I haven't tried this functionality but I think there are methods to change the approval status of a document.


    Interface: WorkflowItemIBeanIfc

    Method: setApprovalStatus(ApprovalStatusEnumType value)

    eg: setApprovalStatus(new ApprovalStatusEnumType(new Integer(1)))

    I think this would set the status to Approved.



    Add comment
    10|10000 characters needed characters exceeded