DocumentationAdobe Workfront Fusion

Type coercion

Last update: January 10, 2025
  • Topics:
  • Workfront Fusion

Access requirements

Expand to view access requirements for the functionality in this article.

You must have the following access to use the functionality in this article:

Adobe Workfront plan*Pro or higher
Adobe Workfront license*Plan, Work
Adobe Workfront Fusion license**

Current license requirement: No Workfront Fusion license requirement.

Or

Legacy license requirement: Workfront Fusion for Work Automation and Integration

Product

Current product requirement: If you have the Select or Prime Adobe Workfront plan, your organization must purchase Adobe Workfront Fusion as well as Adobe Workfront to use functionality described in this article. Workfront Fusion is included in the Ultimate Workfront plan.

Or

Legacy product requirement: Your organization must purchase Adobe Workfront Fusion as well as Adobe Workfront to use functionality described in this article.

To find out what plan, license type, or access you have, contact your Workfront administrator.

For information about Adobe Workfront Fusion licenses, see Adobe Workfront Fusion licenses.

Type coercion

This document describes how Adobe Workfront Fusion behaves in situations when it receives values in expected and unexpected data formats.

ExpectedReceivedDescription
arrayarrayThe value is handed over unchanged.
arrayotherIf the received value is not of the array type, Workfront Fusion will create an array and the first (and the only) element will be the received value.
booleanbooleanThe value is handed over unchanged.
booleannumberThe value is converted to logical Yes, even if the value is 0.
booleantextIf the value is equal to false or the value is empty, it is converted to logical No. If not, it is converted to logical Yes.
booleanotherThe value is converted to logical Yes whenever the received value exists (is not null).
bufferbufferThe value is handed over unchanged only if the codepage is as expected. If the codepage differs, Workfront Fusion will try to convert the received value to the requested codepage. If this conversion is not supported, Workfront Fusion will return a validation error.
bufferbooleanThe value is converted to text (true/false) and then to binary data following the steps mentioned above for converting to text.
bufferdateThe value is converted to ISO 8601 text and then to binary data following the steps mentioned for converting to text.
buffernumberThe value is converted to text and then to binary data following the steps mentioned above for converting to text.
buffertextThe value is converted to binary data and encoded as expected. If the expected encoding is not specified, utf8 encoding will be used.
bufferotherWorkfront Fusion returns a validation error.
collectioncollectionThe value is handed over unchanged.
collectionotherWorkfront Fusion returns a validation error.
datedateThe value is handed over unchanged.
datetext

Workfront Fusion will try to convert the text to a date. If the conversion fails, it will return a validation error. Date must contain day, month and year. Date may contain time and time zone. Default time zone is based on your settings. Examples:

2016-06-20T17:26:44.356Z

2016-06-20 19:26:44 GMT+02:00

2016-06-20 19:26+0200

2016-06-20 17:26:44

2016-06-20

2016/06/20 17:26:44

2016/06/20 19:26:44+02:00

2016/06/20 17:26

2016/06/20 5:26 PM

2016/06/20

06/20/2016 17:26:44

06/20/2016 19:26:44+02:00

06/20/2016 17:26

06/20/2016 5:26 PM

06/20/2016

20.6.2016 17:26:44

20.6.2016 19:26:44+02:00

20.6.2016 17:26

20.6.2016

dateotherWorkfront Fusion returns a validation error.
numbernumberThe value is handed over unchanged.
numbertextWorkfront Fusion will try to convert the text to a number. If the conversion fails, it will return a validation error.
numberotherWorkfront Fusion returns a validation error.
texttextThe value is handed over unchanged.
textarrayIf the given array supports conversion to text, the value will be converted. If not, Workfront Fusion will return a validation error.
textbooleanThe value is converted to text (true/false).
textbufferIf text encoding is specified for binary data, the value will be converted to text. If not, Workfront Fusion will return a validation error.
textdateThe value is converted to ISO 8601 text.
textnumberThe value is converted to text.
textotherWorkfront Fusion returns a validation error.
timetimeThe value is handed over unchanged.
timetextWorkfront Fusion will try to convert time to the hours:minutes:seconds format. If the conversion fails, it will return a validation error.
timeotherWorkfront Fusion returns a validation error.
recommendation-more-help
7e1891ad-4d59-4355-88ab-a2e62ed7d1a3