---
schema_version: "1"
id: 04641aa51ea6ffb9e1270cd893f82ef7650c3ab2cd6a0ad2c32005ec291ba160
title: Workday - Studio の設定 - Mule 4
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/workday-connector/12.0/workday-connector-studio.md
canonical_url: https://docs.mulesoft.com/jp/workday-connector/12.0/workday-connector-studio
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 25c4eed512be5700a13a5f8971025d90de461607cc1e9e788ea315a8a414e57e
description: MuleSoft Documentation Site
release: "12.0"
latest: false
---
# Workday - Studio の設定 - Mule 4

Workday 用 Anypoint Connector を設定する手順は、次のとおりです。

1. Exchange から、または Anypoint Studio からコネクタをプロジェクトに追加します。
2. コネクタを設定します。
3. コネクタの入力元を設定します。

## [](#プロジェクトへのコネクタの追加)プロジェクトへのコネクタの追加

Anypoint Studio では、コネクタを Studio プロジェクトに追加する方法として、タスクバーの \[Exchange\] ボタンから、または ​**Mule パレット**​からの 2 つがあります。

### [](#exchange-を使用してコネクタを追加する)Exchange を使用してコネクタを追加する

1. Studio で Mule プロジェクトを作成します。
2. Studio タスクバーの左上にある Exchange ​**(X)**​ アイコンをクリックします。
3. Exchange で、​**\[Login (ログイン)\]**​ をクリックし、Anypoint Platform のユーザー名とパスワードを指定します。
4. Exchange で「Workday」を検索します。
5. \[Workday Connector\] を選択し、​**\[Add to project (プロジェクトに追加)\]**​ をクリックします。
6. 画面の指示に従ってコネクタをインストールします。

### [](#studio-でコネクタに追加する)Studio でコネクタに追加する

1. Studio で Mule プロジェクトを作成します。
2. \[Mule Palette (Mule パレット)\] で、​**\[(X) Search in Exchange ((X) Exchange 内を検索)\]**​ をクリックします。
3. **\[Add Modules to Project (モジュールをプロジェクトに追加)\]**​ で、検索項目に「Workday」と入力します。
4. **\[Available modules (使用可能なモジュール)\]**​ で、そのコネクタ名をクリックします。
5. **\[Add (追加)\]**​ をクリックします。
6. **\[Finish (完了)\]**​ をクリックします。

## [](#入力元の設定)入力元の設定

コネクタの入力元を設定します。 使用できる入力元操作は次のとおりです。

- On New Objects  
    Workday でオブジェクトが作成されたときにアプリケーションを開始します。
- HTTP リスナー  
    ブラウザーまたは ​`curl`​ などのコマンドを使用してアプリケーションを開始します。
- スケジューラー  
    指定された間隔でアプリケーションを開始します。

Studio で、選択した入力操作を ​**\[Mule Palette (Mule パレット)\]**​ からキャンバスの ​**\[Source (ソース)\]**​ パネルにドラッグします。

On New Objects 入力元の必須項目は次のとおりです。

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 30%;">
<col style="width: 70%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">Studio 項目</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><strong>Connector configuration (コネクタ設定)</strong></p></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>[Global Element Properties (グローバル要素プロパティ)] 設定名。</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><strong>Object type (オブジェクト種別)</strong></p></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p><code>ABSENCE_INPUTS</code>​、​<code>ACADEMIC_CONTACTS</code>​、​<code>ALL_CURRENCIES</code>​、​<code>APPLICANTS</code>​、​<code>BASIC_CUSTOMERS</code>​、​<code>CANDIDATES</code>​、​<code>CERTIFICATION_ISSUERS</code>​、​<code>CERTIFICATIONS</code>​、​<code>COMPETENCIES</code>​、​<code>DEGREES</code>​、​<code>DONORS</code>​、​<code>EDUCATION_TEST_RESULTS</code>​、​<code>EDUCATIONAL_INSTITUTION_COURSE</code>​、​<code>HEALTH_CARE_RATES</code>​、​<code>INVESTORS</code>​、​<code>ORGANIZATIONS</code>​、​<code>PAYMENTS</code>​、​<code>PROGRAMS_OF_STUDY</code>​、​<code>STUDENTS</code>​、​<code>STUDENTS_APPLICATIONS</code>​、​<code>WORKERS</code>​ のいずれか。</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><strong>Scheduling Strategy (スケジュール戦略)</strong></p></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>ポーリングをトリガーするスケジューラーを設定する。​<strong>†</strong></p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><strong>Username (ユーザー名)</strong></p></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>ログインに使用するユーザー名。</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><strong>Password (パスワード)</strong></p></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>対応するパスワード。</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><strong>Tenant Name (テナント名)</strong></p></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>Workday テナント ID。通常は ​<code>acme_pt1</code>​ のようにサフィックス ​<code>_pt1</code>​ が付加されます。</p>
</div></div></td>
</tr>
</tbody>
</table>

**†**​ ​**Scheduling Strategy (スケジュール戦略)**​ により、ソースにデータをポーリングできる方法が指示されます。この項目には 2 つのオプションを使用できます。

- **Fixed Frequency (一定間隔)**
    
    指定されたミリ秒数、秒数、分数、時間数、または日数でデータをポーリングします。デフォルト値は 1000 ミリ秒です。
- **Cron**
    
    指定された期間の月の毎週金曜日など、検索条件に基づいてデータをポーリングする式を受け入れます。例については​[「Cron 式」](https://docs.mulesoft.com/mule-runtime/latest/scheduler-concept#cron-expressions)​を参照してください。

<table><tbody><tr><td class="icon"><i class="fa icon-important" title="Important"></i></td><td class="content"><strong>[Test Connection (接続をテスト)]</strong>​ ボタンを使用して接続性を検証するために、Workday Connector は ​<code>Get_Degrees</code>​ 操作で ​<code>Performance_Management</code>​ サービスを使用します。そのサービスで操作を実行する権限がサービスアカウントにあることを確認してください。</td></tr></tbody></table>

<table class="tableblock frame-all grid-all fit-content spread">
<colgroup>
<col>
<col>
<col>
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">セキュリティポリシー</th>
<th class="tableblock halign-left valign-top">ドメイン/機能エリア</th>
<th class="tableblock halign-left valign-top">許可されたセキュリティグループ</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">セットアップ: スキルと経験</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">ワーカープロファイルとスキル</p></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="ulist">
<ul>
<li>
<p>HR 管理者</p>
</li>
<li>
<p>HR システム</p>
</li>
<li>
<p>実装者</p>
</li>
<li>
<p>職務および役職管理者</p>
</li>
<li>
<p>学習管理システム</p>
</li>
</ul>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">実装</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">実装者</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">特殊 OX Web サービス</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">実装</p></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
</tbody>
</table>

## [](#その他の操作の設定)その他の操作の設定

各 Workday 操作では Anypoint Studio に独自の必須項目があります。詳細は、​[「コネクタリファレンス」](https://docs.mulesoft.com/jp/workday-connector/12.0/workday-reference)​を参照してください。

[「追加設定情報」](https://docs.mulesoft.com/jp/workday-connector/12.0/workday-connector-config-topics)​も参照してください。

## [](#studio-でタイムアウトを増やす)Studio でタイムアウトを増やす

Studio 使用中の接続状態に応じて、Workday Connector からのメタデータの取得中にタイムアウトが発生する場合があります。

### [](#症状)症状

この状態では 2 つのタイプのエラーが考えられます。

```text
org.mule.runtime.api.exception.MuleRuntimeException: Error while retrieving soap client id [Absence_Management]
  org.mule.runtime.api.exception.MuleRuntimeException: Error while retrieving soap client id [Absence_Management]
  Caused by: java.util.concurrent.ExecutionException:
  org.mule.wsdl.parser.exception.WsdlParsingException: Error processing
  WSDL file [https://wd3-impl-services1.workday.com/ccx/service/deakin_amu1/Absence_Management/v29.1?wsdl]:
  Unable to locate document at 'https://wd3-impl-services1.workday.com/ccx/service/deakin_amu1/Absence_Management/v29.1?wsdl&#39;.
```

または

```text
org.mule.tooling.client.api.exception.TimeoutException: Mule Agent REST service timed out
  org.mule.tooling.client.api.exception.TimeoutException: Mule Agent REST service timed out
  javax.ws.rs.ProcessingException: java.net.SocketTimeoutException: Read timed out
  	at org.glassfish.jersey.client.HttpUrlConnector.apply(HttpUrlConnector.java:244)
  	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:245)
  	at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:671)
  	at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:668)
  	at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
  	at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
  	at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
  	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
  	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:668)
  	at
```

### [](#解決策)解決策

上記のいずれかの状況が発生した場合:

1. Anypoint Studio で、​**\[Preferences (プリファレンス)\]**​ > ​**\[Anypoint Studio\]**​ > ​**\[Tooling (ツール設定)\]**​ に移動します。
2. `Default Connection Timeout`​ と ​`Default Read Timeout`​ の値を 2 倍にします。
3. **\[Apply (適用)\]**​ をクリックし、Studio を再起動します。

## [](#次のステップ)次のステップ

Studio で Workday Connector を設定したら、このコネクタの使用法を説明する財務管理ユースケースについて​[「例」](https://docs.mulesoft.com/jp/workday-connector/12.0/workday-connector-examples)​を参照してください。

## [](#関連情報)関連情報

- [Anypoint Connector の概要](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors)
- [MuleSoft ヘルプセンター](https://help.mulesoft.com)