function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Scott.MScott.M 

Test Approval Process Code Without Setting up Approval Process

Hi,

 

This maybe a strange use case but I need to test an approval process without actually setting up the approval process in the declarative interface. The reason being, that using approval processes is optional in our managed package so we don't want to include an already setup approval process but we still need to test the code that would use an approval process should the end user decide to create one.

 

Thanks in advance for any ideas or help!

Scott 

_Prasu__Prasu_

Do you just want this to cover code which fails while installation of the Managed package?