You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Approval Sequence IN CPQ

Summary:

I am trying to make Action Called Approve status Changed Approved because i have multiple status Waiting for approvals and Approvals , so i have multiple approvals i want to appear every approvals waiting for approvals when one of approvals is approved second approval will see the transaction in Approved section not waiting for approvals so i make function in my action in status part


rowCount=sizeofarray(approval_status_submit_t);

approverNames = approval_status_submit_t[0][2];
if (rowCount >=0 ){
// still has at least one approver pending
status = "QUOTE_SUBMITTED";

}

return "APPROVED";

respect to jason file payload that {

approval_status_submit_t: [{reasonName: "test1", reasonVarName: "test1", approverNames: ["Sales_3 [nesmatest1]"]}]0: {reasonName: "test1", reasonVarName: "test1", approverNames: ["Sales_3 [nesmatest1]"]}

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!