Salesforce Field Service では、コントラクターユーザーはコミュニティユーザーライセンスを使用して操作します。コントラクターユーザーが Field Service Mobile アプリケーションで派遣済みサービス予定を開き、サービスレポートを完了しようとすると、次のエラーが発生します。'WorkTypeId' in type 'WorkOrder is undefined'
また、作業指示の作業種別に関連付けられている作業ステップが、コントラクターユーザーのモバイルアプリケーションに表示されません。この問題は次の場合でも解決しません。
問題の根本原因は、コントラクター/コミュニティユーザーのプロファイルまたは権限セットについて、作業種別オブジェクトに対するオブジェクトレベルの権限がないことです。Field Service Mobile アプリケーションの内部フロー (またはサービスレポートの生成中に使用される自動起動フロー) に、(WorkTypeId 項目を介して) 作業種別オブジェクトを照会する [作業指示を取得] フロー要素が含まれている場合、ユーザーに少なくとも作業種別オブジェクトへの読み取りアクセス権がないと、システムは未定義項目エラーをスローします。これにより、そのユーザーに対しては作業種別にリンクされている作業ステップも読み込まれなくなります。
二次的原因: フローの [作業指示を取得] 要素内で参照される他の項目にもコントラクターユーザーがアクセスできず、エラーが複雑になることがあります。
Field Service Mobile アプリケーションで、コントラクターユーザーの「WorkTypeId」の未定義エラーと欠落している作業ステップを解決する手順は次のとおりです。
ステップ 1: 作業種別オブジェクトに読み取りアクセス権を付与する
ステップ 2: フローで使用される作業指示項目の項目レベルセキュリティを確認する
ステップ 3:フローの設定を確認する
ステップ 4: 設定をテストする
005317695

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.