Automate Business Processes for a Recruiting App  



# Build an Automation for Creating Interviewer Records Learning Objectives

+ [Build an Automation for Creating Interviewer Records Learning Objectives](https://trailhead.salesforce.com/content/learn/projects/automate-business-processes-recruiting-app/build-process-interview-records)

新しいプレイグランドで試すために、以下のパッケージだけをインストールしてみました。

Every_Position_Must_Have_a_Hiring_Mgrの入力規則の非アクティブ化ができないだけで、他は問題なく実行できました。

これは作ってないパターンみたい
+ [入力規則がない：Every_Position_Must_Have_a_Hiring_Mgr](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PfE9WSAV)

+ [Create a Custom Object for Reviews](https://trailhead.salesforce.com/content/learn/projects/build-a-data-model-for-a-recruiting-app/create-a-custom-object-for-reviews)
+ [Unable to find the "Every_Position_Must_Have_a_Hiring_Mgr". What are the steps to create that](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V000077l28M)
+ [Automate Business Processes for a Recruiting App : Build an Automation for Creating Interviewer Records](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007epfje)

:::note
Have you followed the instructions below to create your validation rules?
(However, omitting this part does not affect the challenge.)

Set Up the First Rule

First create a validation rule requiring a hiring manager be included with each position listing in the recruiting app.

1. From Setup, click Object Manager and select Position.
2. Click Validation Rules, then click New.
3. For the Rule Name, enter Every_Position_Must_Have_a_Hiring_Mgr
4. Select Active.
5. Enter this Description: Every position record must have a hiring manager.
6. Enter the Error Condition Formula:ISBLANK (Hiring_Manager__c) && $Profile.Name <> "System 7. Administrator"
7. Ensure your screen looks like this:
8. Click Check Syntax to verify there are no errors.
9. Enter this Error Message: Every Position must have a Hiring Manager.
10. Choose Field: Hiring Manager from the Error Location picklist.
11. Click Save.


https://trailhead.salesforce.com/content/learn/projects/improve-data-quality-for-a-recruiting-app/create-validation-rules
:::

+ [Unable to test the Flow in " Build an Automation for Creating Interviewer Records" assignment](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V000074VUPb)


# エラー

+ [We can't run the 'Create Interviewer Record' flow. Make sure its implementation is correct per requirements, and that Position and Interviewer records can be created and updated. If the error persists, please log a case with the Trailhead help team](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007KZkFt)


:::note
Is the Interviewer object configured like this?
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/25fd6ae0-f3ac-62d1-f0dd-38cdaefa0b2a.png)

Mistakenly My employee field is lookup to another object.
:::


+ [FIELD_INTEGRITY_EXCEPTION: Position: id value of incorrect type: a0D5i00000CZTJQEA5. You can look up ExceptionCode values in the SOAP API Developer Guide.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V000074qa0d)

フローが間違っていると思ったけど、フィールドの参照先がPositionでなくて、ユーザになっていたようです。

:::note
The User object's Id starts from 005.
You should delete this wrong field and recreate it.

However, I don't think you can remove it if you're using it in a flow. Remove the flow or just the part that uses this field


:::

:::note alert
We can't save this record because the “Create Interviewer Record” process failed. Give your Salesforce admin these details. This error occurred when the flow tried to create records: MALFORMED_ID: Employee: id value of incorrect type: $Record > Hiring_Manager__c. You can look up ExceptionCode values in the SOAP API Developer Guide. Error ID: 755069656-1671511 (-758799955)k up ExceptionCode values in the SOAP API Developer Guide. Error ID: 755069656-1671511 (-758799955)
:::

+ [not able to solve build an automation for creating interviewer rounds.im getting error while creating new position.and i have completed the modules regarding recruting app.plase help to solev this and look into this.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000R9gF4SAJ)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/6c462c06-d3dd-d6c7-cae6-7c72af02cb1e.png)


:::note
I was working on Recruiting module, my issue was resolved after giving Id

({!$Record.Hiring_Manager__r.Id}

https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000R9onSSAR
:::

+ [【未解決】{!$Record.Hiring_Manager__r.Id}がない？](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX000000N9Z4)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/2b652b0d-770e-28c1-f67d-522e5a57a184.png)



+ [This error occurred when the flow tried to create records: MALFORMED_ID: Employee: id value of incorrect type: $Record > Hiring_Manager__c. You can look up ExceptionCode values in the SOAP API Developer Guide.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000R8vCF)

+ [Build an Automation for Creating Interviewer Records](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PfD27)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/9a4073ed-de62-f924-e76f-4eebf64ff79a.png)

:::note
I was working on Recruiting module, my issue was resolved after giving Id

({!$Record.Hiring_Manager__r.Id}

https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000R9onSSAR
:::

+ [I am unable to activate the flow, I am getting the below error. Can anyone please help me solving this issue? (Challenge name - Build an Automation for Creating Interviewer Records)](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007YwBG0)

:::note
私は採用モジュールに取り組んでいましたが、この値を使用した後に問題が解決されました

I was working on Recruiting module, my issue was resolved after using this value

({!$Record.Hiring_Manager__c}
:::


+ [We could not find the position of 'Super Support Supervisor'.I tried alot of time but it showing the same error again and again](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Vjl9t)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/0dd79743-6868-e82b-f251-59bd64339c24.png)

+ [Error while Create Automation for Submitting Positions for Approval](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Vh04Z)


+ [Challenge is not completed.(flow Create Interviewer Record)](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007X70fn)

:::note alert
This is the error message when running the flow.
『Error element Create_Interviewer_Record (FlowRecordCreate).
This error occurred when the flow tried to create records: MALFORMED_ID: Employee: id value of incorrect type: $Record > Hiring_Manager__c. You can look up ExceptionCode values in the SOAP API Developer Guide.』
:::

上記と同じでは？


+ [【未解決】Can't Complete Build an Automation for Creating Interviewer Records](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ajthC)

+ [i was unable go through this step. kindly help me out..](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX000000mfIr)
+ [Project - Automate Business Processes for a Recruiting App. Part 1 - Build an Automation for Creating Interviewer Records](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX000000n4B9)

:::note
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/d48cdabd-57a5-0e4d-8383-ec74f284d69f.png)
:::


# Lay the Groundwork for an Approval Process

+ [We could not find the section 'Approvers' on the Position page layout.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000QOBZ8)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/7c3b5d47-7e87-322f-d188-346ca8e328b0.png)

:::note
Finally was able to resolve this. Looks like while creating. Looks like while creating the Action Element even though the Label correctly entered as was Submit Position for Approval for some reason the API name was defaulting to Submit and the validation was looking for the API name as Submit_Position_for Approval instead of just Submit. 

Edited the API name and it successfully marked as compete.
:::

:::note
Create a section named "Approver" in the "Technical Position Layout" (under the "experience & education") and move the approver fields into that section as you did in the "Position Layout". So both layout will have the section named "Approver" with similar fields.  

https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000NGynLSAT


「技術職のレイアウト」(「経験と学歴」の下)に「承認者」という名前のセクションを作成し、「職位のレイアウト」と同様に、承認者のフィールドをそのセクションに移動します。したがって、どちらのレイアウトにも、同様のフィールドを含む「承認者」という名前のセクションが含まれます。
:::

# 意味が分からない

+ [Build an Automation for Creating Interviewer Records task, while saving Super Support Supervisor record in position object ,i am facing error shown below: We can't save this record because the “Create Interviewer Record” process failed. Give your Salesfor](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Vjkt7)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/356dbfdb-f745-411c-ce6e-16b3639ec342.png)


I am not able to create employee object by using lookup relationship and also i am not able to delete the object and create it once again.


# We can't run the 'Create Interviewer Record' flow. Make sure its implementation is correct per requirements, and that Position and Interviewer records can be created and updated. If the error persists, please log a case with the Trailhead help team.

+ [Technical issues in trailhead](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007eqyJB)

リンクがあるので、実際は上記の回答をコピーしたほうがいい

:::note
Are you using a playground that has implemented the following projects as instructed?

Before you can do this project, you must complete the Build a Data Model for a Recruiting App, Customize the User Interface for a Recruiting App, Improve Data Quality for a Recruiting App, and Keep Data Secure in a Recruiting App projects. The work you do here builds on the work you complete in those projects. 
:::