Code Fix: Tokens are marked with the dependency icon (badged) when a SmartObject field is used in an e-mail rule

  • 16 February 2021
  • 0 replies
  • 3 views

Badge +6
 

Code Fix: Tokens are marked with the dependency icon (badged) when a SmartObject field is used in an e-mail rule

KB001840

PRODUCT
K2 smartforms 4.7
BASED ON
K2 smartforms 4.7
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue Description
On a Form, when dropping a SmartObject field onto an e-mail rule, the tokens are incorrectly marked with the dependency icon (badged) in the SmartForms Rule Designer.

Cause
The SmartObject field name was used to validate the tokens instead of the GUID.

Repro Steps

  1. Create a SmartObject.
  2. Create a View.
  3. Drop a Picker control onto the View and link the control to the SmartObject.
  4. Save the View.
  5. Add the View onto a Form.
  6. Add a send e-mail rule.
  7. Configure the rule to contain a SmartObject property, pulled from the Picker control SmartObject.
  8. Save changes in the Rule designer.
  9. Click OK.
  10. Edit and configure the rule that has been added.
  11. Note the dependency icon (badging) of all the SmartObject tokens in the e-mail rule.

 

Resolution

  1. Ensure you have K2 4.7 installed.
  2. Install the K2 4.7 February 2017 Cumulative Update.
  3. Get the K2 4.7 February Cumulative Update FP5 from Regional Support.
  4. Install the K2 4.7 February Cumulative Update FP5 to apply the fix.

 


0 replies

Be the first to reply!

Reply