Quantcast
Channel: SCN : Discussion List - SAP Sourcing
Viewing all articles
Browse latest Browse all 1416

CLM XPDL Workflow Error.

$
0
0

Hello Experts,

 

I have tried to upload the XPDL file in our E-sourcing system and found the some error in Prescript. I checked in the logs and found the error as  " Error parsing script. Parse error at line 32, column 1.  Encountered: found ". I have checked the codes and am not able to figure out the root cause for it. So Kindly check the below codes and help me to rectify it. Appreciate your quick response.

 

agreeBean = doc.getParentIBean();
purchasingorg= agreeBean.getExtensionField("Purc_Org").get();
purchasinggroup= agreeBean.getExtensionField("Purc_group1").get();
company = IBeanHomeLocator.lookup(session,agreeBean.getCompanyRef() ).find(agreeBean.getCompanyRef() );
workflowColln = company.getExtensionCollection("ContractApprovalTable");
found = False;
iterator = workflowColln.iterator();

Approval_tier = "Level One Approver";
for(member : iterator)
{
If (purchasingorg.equals(member.get("Purc_Org")) @and purchasinggroup.equals(member.get("Purc_group")) @and Approval_tier.equals(member.get("Approvaltier")))
{
Addapprover(member.get("useraccount"))
found = True;  // The system is pointing the error here only....
}
}

if(!found)
{
cancelprocess("No routing data found for the values on the contract");
}

 

Regards,

Mahesh Nikam


Viewing all articles
Browse latest Browse all 1416

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>