Class SearchAttributeDef

    • Constructor Detail

      • SearchAttributeDef

        public SearchAttributeDef()
    • Method Detail

      • create

        public static SearchAttributeDef create​(SearchAttributeValueType attributeType,
                                                java.lang.String key)
        The search attribute types are all from Cadence/Temporal See doc https://cadenceworkflow.io/docs/concepts/search-workflows/ and https://docs.temporal.io/concepts/what-is-a-search-attribute/ to understand how to register new search attributes and run query NOTE that KEYWORD_ARRAY should be registered as KEYWORD in Cadence/Temporal. Cadence/Temporal use it interchangably. But in IWF, we like things to be explicit.
        Parameters:
        attributeType - the type
        key - the key
        Returns:
        the definition