System SmartObject Delete Method needs to show return properties in Designer (User Role > Serialize Remove From Array)

  • 16 February 2021
  • 0 replies
  • 13 views

  • Anonymous
  • 0 replies
 

System SmartObject Delete Method needs to show return properties in Designer (User Role > Serialize Remove From Array)

kbt152926

PRODUCT
K2 Five 5.2
BASED ON
K2 Five 5.2
TAGS
SmartObjects
Workflow Designer
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Issue

The System SmartObject Delete Method does not allow the use of return properties in Designer (User Role > Serialize Remove From Array).

Symptoms

No return property is exposed in Designer to consume during DesignTime.

Resolution

This is a bug, The problem is that the method type is "Delete" and in Workflow designer if the method type is "Delete" the assumption (incorrectly) is that there are no output mappings.

Workaround
- SaveAS the SmartObject to your category and Edit it.
- Change the method type from Delete to Update for the 'Serialize Remove From Array Method' and use this in the workflow design
- You should not see the output mapping.


0 replies

Be the first to reply!

Reply