Skip to main content

#ApprovalProcess0 discussing

[実装したいもの]

カスタムオブジェクトAにおけるレコードの承認後、1つの項目を除いて項目の編集ができないようにする。

 

[備考]

オブジェクトAにはカスタム項目が200ほどあり、これからも追加される予定になっていますので、入力規則等で編集を制限する項目をすべて追加するような設定はしない方が良いかと思っております。

 

以上、何卒よろしくお願い致します。

 

#Sales Cloud  #ApprovalProcess

4 answers
  1. Takaaki Motohashi (PERSOL CROSS TECHNOLOGY CO., LTD.) Forum Ambassador
    Jan 16, 2025, 12:43 AM

    承認プロセスのレコードロックでは1項目のみ編集不可 ということはできないので入力規則の対応になりますが項目数が多く、また今後増える想定であれば入力規則の作成・メンテナンスが難しいですね。

    回避策として子オブジェクトを作成してカスタムオブジェクトAの子オブジェクトに編集項目追加でしょうか。

    オブジェクトを切り分ければレコード編集制御は容易です

0/9000

Hi All,

 

We have a problem - when the record was selected for approval - First level of approval is going to the Manager - Once Manager approves the record - Second level of Approval is manually choosen by the Manager and he - himself can assign to him and approve the record.

 

So we need to restrict the manager to add himself as a approver for the second level of approver.

 

let me know if anyone is having Idea on this ??

 

#ApprovalProcess  #Approvals User  #Salesforce Developer  #Salesforce Admin  #Salesforcecommunity  #Salesforce Developers

2 answers
  1. Dec 12, 2024, 12:33 PM

    I am also looking a solution for some similar scenario where the case approval will be on the basis of First Response ( 2 users are defined as approvers in the approval process ) and need to prevent the reassignment of approval request to case requester or submitter (i.e on clicking reassign button).

     

    I dont think we can directly write Validation, Flow or Trigger on ProcessInstanceWorkitem object and hence looking for any idea or solution to deal with this situation. Let me know if someone has anything related to this that would be helpful 

    Thanks !

0/9000

Did you know you can apply Validation Rules in a Approval Process using a Custom Error Message in Flow?

 

This can prevent a invalid record from being submitted for Approval and instruct the users how to remedy the problem.

 

Find out more in this how-to video; https://youtu.be/XhAO2emDOdA?si=HQOKzbC0g3a_lF2-

 

#Flow #ApprovalProcess #Record-Triggered #Salesforce #Salesforce Developer #Salesforce Admin #TrailblazerCommunity #CRM Configuration 

0/9000

Hi there!

 

I'm a beginning admin and I work at an assurance company. I've received a requested to put more surveillance on a certain field on the account records: a bank number field. (In case an employee changes the bank account nr to his personal bank nr and commits fraud). They do not trust the entries made by users (no checks) and would like to have a second approver for this particular field entry. 

 

My first thought was approval processes. But those are used when a record needs approval. Is it possible to use approval processes to approve or decline the first entry/update entry on a single field? It is not needed if all other fields are updated, only this particular field. 

 

What is the best way to tackle this? Any suggestions on alternatives as well?

Love to hear and learn from you!

 

Manon

 

#ApprovalProcess  #Custom Fields

3 answers
  1. Feb 28, 2024, 9:17 PM

    Hi @Manon Vogels, you could create an approval process with entry criteria that match your condition and then you could initiate a flow that will submit for approval action within, and the record will be automatically locked and submitted to the instance that needs to verify (also something that you could modify within the approval process).

     

    If you need more guidance on this matter and how to configure let me know.

     

    Please mark this as the best answer if this solves your question.

     

    Thanks,

    Milos

0/9000

I'm using a standard Approval Process on Opportunity, I set up hierarchy fields on User to send it to the correct user, how can I skip a level in the hierarchy if the designated approver will not see emails/notifications?

I hope I was clear enough!

Thanks!

 

#Sales Cloud  #ApprovalProcess  #Approvals User

1 answer
  1. Feb 22, 2024, 10:34 AM
0/9000

If any other GovCloud orgs are having this issue when using record-triggered Flows and the Approval Process, please report it here: https://issues.salesforce.com/issue/a028c00000yxXOv/approval-process-updates-in-final-step-with-also-updates-in-final-actions-will-trigger-flows-multiple-times

 

The Known Issue summary:

 

 Flows triggered from Approval Process updates in final Approval Step, which also has field updates in Final Actions will incorrectly be triggered multiple times - despite Flow entry criteria to prevent this.

This only applies to field updates in a Final step, that are followed by updates in the Final Actions

 

#Government Cloud  #Flow  #Record-Triggered  #ApprovalProcess

0/9000
1 answer
  1. Jan 22, 2024, 6:07 PM

    HI @Shruti Lenka

    Please log a case in Trailhead for help regarding Superbadges, they can help you better with this.

0/9000
2 answers
  1. Jan 22, 2024, 9:12 AM

    I found the solution myself that is Approver email was not valid in sandbox. After i made it valid email coming fine as per logic.

0/9000

I receive the following error for the formula below in an approval process:

 

Error:

Function ISCHANGED may not be used in this type of formula

 

Formula:

ISCHANGED( Addressee_Format__c )

 

I chose the setting that the process should be used when the formula evaluates to TRUE, and this formula does that. Unsure how to get it to work.

 

Help is very welcome!

 

#ApprovalProcess #Formulas #Salesforce Admin

3 answers
  1. Dec 30, 2023, 9:46 PM
    Thanks for sharing Elizabeth! Not sure how I missed those but they’ll lead me in the right direction!
0/9000

Hi,

 

I have a record-triggered flow which is triggered when a field (Approval Status) is updated to Approved. (The field is updated to Approved via an existing approval process, as part of the final approval actions). The flow uses an Action element to send a notification to an internal Slack channel. 

 

The flow has been working no problem for a while, but since adding a new User to the approval process, the flow is now not being triggered when the approval status is updated to Approved by the new User only. (All the existing Users are still working just fine, and the flow is being triggered normally when they are approving.)

The new User has the same Profile as all the existing Users. I have also checked that they have the Flow User permission checked on their User profile too.

I am not even receiving any flow errors, which suggests it is not being triggered at all. 

 

Can anyone tell me why this might be happening? 

 

TIA

 

#Sales Cloud #Flow #ApprovalProcess 

3 answers
  1. Davis Johnson (SolomonEdwards) Forum Ambassador
    Dec 7, 2023, 4:46 PM

    @Katie Parkinson,

    My apologies, if you are still having an issue with this, I would recommend you work in two steps:

    1. Prove that the user in question is actually triggering this Flow

    2. If the above is true, debug the path the user is heading down.

    To figure out if the user is triggering the Flow at all, there are a few things that you can do:

    1. Add a custom error element as the first element of the Flow - this should give you immediate information about whether the Flow is being triggered as it should prevent the update of the record at all (you should see the error info on the screen)

    2. view the debug logs for the User - These can be tougher to comb through based on how many processes might be in your Org, but you should see the processed referenced by name if it is running around when you launched the process.

    Hopefully, if you are still having this issue, these should be a strong start in the right direction for debugging!

0/9000