1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

特定の日付の場合項目編集を防ぐSalesforce入力規則作成方法

Posted at

特定の日付の場合に項目編集を防ぐSalesforce 入力規則作成方法を示します

※前提
項目のAPI参照名が
A__cとB__cとC__cの項目編集を防ぎます

例1 25日のみ項目編集を防ぐ

AND(
Day(TODAY())= 25,
OR(
ISCHANGED(A__c),
ISCHANGED(B__c),
ISCHANGED(C__c)))

例2 25日以降の項目編集を防ぐ

AND(
Day(TODAY())>= 25,
OR(
ISCHANGED(A__c),
ISCHANGED(B__c),
ISCHANGED(C__c)))

例3 25日以降でなおかつプロファイル「システム管理者」以外のユーザの項目編集を防ぐ

AND(
$Profile.Name <> 'システム管理者' ,
Day(TODAY()) >= 25,
OR(
ISCHANGED(A__c),
ISCHANGED(B__c),
ISCHANGED(C__c)))

※プロファイル名を入力規則で入れる際は言語設定により入力規則が動かなくなる場合があるのでご注意ください

(参考記事)

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?