It seems you have a conditional decision in your work flow. Look at your workflow setup/configuration and check on field you have the conditional decision.
Hi,
I have checked the conditional decision and its also referring the same method of PurchReqTable…I am unable to find out the exact issue…Pls suggest me…
Hi kranthi,
I have added the new condition to the purchreqreview workflow using PurchReqDocument class.I have used the ledgerId for the BuyingLegalEntity field of PurchReqLine…But when we validating the condition,the condition is evaluated to false…
But In normal process the company id is always ‘DAT’…
Hi Kranthi,
I have found the solution for this…Thanks for ur all the replies…
The batch process checks the 'XXX’company instead of the 'YYY’because it considers only the company in which batch process is created…So I have created the new placeholder using the document class for the workflow and used the LedgerRecId of BuyingLegalEntity field instead of Current Ledger(Ledger::current())…It is working now…