No ratings

Workflow error when trying to save an empty picture into a SmartObject


When trying to copy information with type "Image" from a Smartbox SmartObject to another SmartObject (or the same SmartObject results in the same issue), within a workflow, we receive the following error if the record has no data (no image uploaded):


Reason of issue.png

Error Code

Data at the root level is invalid. Line 1, position 1.


2021-06-24 16_04_16-ZA First542 (5.4) ( - Remote Desktop Connection Manager v2.7.png


There are two workarounds that you can try to move past the issue.


A) Avoid copying the line by adding a condition: {PictureField} different from empty:

Workaround to avoid copy.png


B) If you want to copy the line even if no picture is uploaded, you can check the value by using an If function. If we detect that the value is "System.Byte[]", replace it with a "" by using an If function.


Workaround with if.png



Labels: (2)
Version history
Last update:
‎07-27-2021 05:37 AM
Updated by: