viktorbrech/HsWfHelper

Resolve ambiguity in "set property" and related actions for non-contact objects

Closed this issue · 1 comments

In the following actions, we cannot distinguish between company and deal/ticket/conversation/quote:

  • SET_COMPANY_PROPERTY
  • COPY_PROPERTY
  • DATE_STAMP_PROPERTY
  • ADD_COMPANY_ENUM_PROPERTY
  • SET_COMPANY_PROPERTY

Need to add logic to resolve the ambiguity and return placeholders or warning annotations where that is impossible.

To resolve ambiguity, need to check uniqueness of property names and/or configuration flags indicating which objects should be considered or defaulted to.

resolved via "ambiguous_prop" function in workflow_copy.py