Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Go to Setup > Object Manager > BDE Templates > Fields & Relationships > Type. Picklist values should only be Offline Donation, Direct Debit and Credit Card.

Set Approval Process

...

  1. Enable record locking and unlocking in Apex.

...

  1. Go to Setup > Process Automation > Process Automation Settings.

...

Create Approval Process

  1. Go to Setup > Process Automation > Approval Process. Create  Create new Approval Process for Batch Donation Entry (if not yet created)

...

  1. In Manage Approval Process For picklist, select the Batch Donation Entry and select the Use Standard Setup Wizard option.

...

  1. The Process Name should be “Batch Donation Entry Approval Process”. Click Next to proceed.

  2. Under the

...

  1. Use this approval process of the following picklist select “formula

...

  1. evaluates to true” and copy the formula below. Click Next  to proceed.

Formula: 

AND($Setup.ASPHPPADDON__ProntoGiving_Settings__c.ASPHPPADDON__Use_Approval_Process_for_Batches__c = true,   NOT(ISPICKVAL(ASPHPPADDON__Bulk_Donation_Status__c, 'Processed')), NOT(ISPICKVAL(ASPHPPADDON__Bulk_Donation_Status__c, 'Done')), NOT(ISPICKVAL(ASPHPPADDON__Bulk_Donation_Status__c, 'Approved')) )

...

  1. In the Record Editability Properties section, choose the “Admins ONLY can edit records

...

  1. during the approval process”. Click Next to proceed.

...

  1. Choose the BDE Approval Process Template (BDE 2.0). Click Next to proceed

...

  1. Choose the fields to display in the Approval Request page. Click

Next to proceed.

  1. Select

  1. :

    1. Batch Donation Entry Name

    2. Bulk Donation Status

    3. Description

    4. Expected Total Amount of Donations

    5. Expected Number of Donations

    6. Click Next to proceed

  2. Select Record Creator as the "Allowed Submitters”.  Click Save to finish.

...

  1. After saving, you will be redirected

...

  1. to this page.

...

...

    ...

    1. Create Initial Submission Actions  for Update Batch Status Awaiting Approval

    ...

    1. .

    ...

    1. Click the

    ...

    1. Add Existing button and select

    ...

    1. Field Update

    2. Create Approval

    ...

    1. Steps

    ...

      1. Click the

    ...

      1. New Approval

    ...

      1. Step button

    ...

    ...

      1. Enter Name and Description, click

    ...

    Name

    ...

    Unique Name

      1. Next

      2. Step 1: User Approval

    ...

      1. , Unique Name Step_1_User

    ...

    .        c.  Specify Step Criteria

    ...

      1. _Approval

      2. Specify step criteria: Select “Enter this step if the following” criteria are met, else reject record and copy the values below.

    Field

    Operator

    Value

    Batch Donation Entry: Bulk Donation Status

    equals 

    To Be Processed,Awaiting Approval

    .        d.  Select Select Approver step ..        e.  Click and click Save when done..       

    ...

      ...

      1. Create Final Approval Actions - for Update Batch Status Approved

      ...

      1. .

      ...

      1. Click the

      ...

      1. Add Existing button and select

      ...

      1. Field Update

      2. Create Final Rejection Actions - for Update Batch Status To Be Processed

      ...

      1. .

      ...

      1. Click the

      ...

      1. Add Existing button and select

      ...

      1. Field Update

      ...

      1. .

      ...

      1. After completing the setup

      ...

      1. click the

      ...

      1. Activate button to activate the Approval Process.

      ...

      Enable Approval Process in ProntoGiving Settings

      ...