プロセスをアプリに追加する際に、サポートされる入力引数と出力引数のリストを以下に示します。
サポートされる引数型
Supported Type | .NET type | Description | Limitation (If any) |
---|---|---|---|
Text | System.String | Text | |
Number (Integer, Double, Float, Decimal) | System.Int16, System.Int32, System.Int64, System.UInt16,System.UInt32, System.UInt64,System.Double, System.Single System.Decimal | Integer/Floating point Numeric type & Decimal value | |
Boolean | System.Boolean | True/False | |
DateTime | System.DateTime, System.DateTimeOffset | Date and time | Customers should always use UTC or include a DateTimeOffset |
Supported Type[](List) | System.Array | Array of supported types . For example array of text or numbers | |
List<ST> (List) | System.Collections.Generic.List | List of supported types. | |
IList<ST> (List) | System.Collections.IList | Iterable list of supported types. |
DateTime 引数
- タイムゾーン情報のないデータは、UTC で扱われます。
- タイムゾーン情報を含むデータは、エンドユーザーのブラウザーのタイムゾーンで表示されます。
注
明示的にサポートされていないデータ型に対しては、以下のロジックが適用されます。
- データ型が「[]」で終わる場合は、配列です。
- データ型が「null」として戻った場合、Apps によって「anything」として解釈されます。
- データ型が「[]」でも「null」でもない場合は、「object」として解釈されます。
型推論がサポートされる型
そのままの形式が Apps でサポートされていない .NET 型の変数に対しては、データ型を推論するためにジョブの履歴を使用できます。この場合、プロセスの現在のバージョンに一致するジョブが少なくとも 1 つ必要です。この方法での自動検出は、常に正確であるとは限りませんのでご注意ください。データ型はプロセスのプロパティ ページで確認し、必要に応じて変更してください。
Supported Inference Type (SIT) | .NET type | Description |
---|---|---|
DataTable | System.Data.DataTable | The Tabular Data field detection inference is based and may not identify types correctly, even if they are Supported Types. |
SIT[](List) | System.Array | List of supported inference types. |
UiPath Generic | UiPath.Core.GenericValue | Common default type in Studio. |
Object | System.Object | A generic Object |
注意:
DataTable > DataColumn などのオブジェクト フィールドは、型がサポートされていても推論ベースの検出が使用されます。このため予測できない結果につながる可能性があるので、App Studio 内で DataTable やその他のオブジェクトのフィールドを手動で指定できます。
DataTable: アプリ内で使用できるのは DataTable のデータのみです。フィールドの制約、式列、および主キーはサポートされません。
今後サポートされる予定の引数
Supported Type (ST) | .Net Type | Description |
---|---|---|
TimeSpan | System.TimeSpan | A time interval |
IEnumerable | System.Collections.Generic.IEnumerable | Iterable list of Choices. Treated same as Enum/ChoiceSet |
ChoiceSet | System.Enum | List of Choices |
注:
- Robot サービスと Robot Executor の間でのプロセスのペイロード サイズの制限は 10 MB です。
- 単一のプロセスのプロセス引数全体が 10 MB を超えてはなりません。
9 か月前に更新