[SalesForce] Can you have multiple approval processes running at the same time on the same object
Can you have multiple approval processes running at the same time on the same object?
Please Help.
Best Answer
You can have multiple active approval processes on same object but not all running. However only one approval process will get executed based on process order. If the record does not match first approval process then only it will check for the second one. You can alter the order of approval process as shown in below snapshot.
Map<ID,Date> approvalTimeStampMap = new Map<ID,Date>();
to
Map<ID,DateTime> approvalTimeStampMap = new Map<ID,DateTime>();
CreatedDate is a Date-Time field. Make sure that Submit_for_Booking__c is a Date-Time field.
Update:
Illegal ''assignment from Datetime to Boolean' means you are assigning
a date time value in boolean type. Here Date time is only
approvalTimeStampMap. So, verfiy that Submit_for_Booking__c is a Date
Time field.
Best Answer
You can have multiple active approval processes on same object but not all running. However only one approval process will get executed based on process order. If the record does not match first approval process then only it will check for the second one. You can alter the order of approval process as shown in below snapshot.