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
Post a Comment