Salesforce Custom Approval Process With Apex -


i have logic problem custom approval process. want build custom solution in sfdc more options approval process.

i have 2 objects: approval process (parent) , approval criteria (child).

for example:

approval process #1: object == account

  • criteria #1: name == 'test'
  • criteria #2: rating == 'hot'

approval process #2: object == account

  • criteria #1: name == 'test'
  • criteria #2: rating == 'hot'

i have record account ( name = 'test', rating = 'hot' )

soql check if record in conditions this:

list<account> accountlist = [select id account (name = 'test' , rating = 'hot') or (name = 'test' , rating = 'hot')]; 

i know account in list how can determine approval process found it?


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -