0 Replies
      Latest reply on May 14, 2020 11:02 PM by Seunggyu
      Seunggyu Level 1 Level 1 (0 points)

        i'm trying to create a custom shortcuts app action.

        https://developer.apple.com/documentation/sirikit/adding_user_interactivity_with_siri_shortcuts_and_the_shortcuts_app

         

        in section "Establish Relationships Between Parameters"

        I want to make the 2-depth relationship (show if parent) between parameters.

        but, I think the xcode ide supports only 1-depth relationship.

        how to make belows?

         

        example) Do not disturb ${enable} until ${until} ${time}

         

        :CUSTOM_TYPE

        enum 'enable' - [on | off]

        enum 'until' - [turned off | time]

         

        :RELATION

        relation 'show if parent has exact value'

        until -> enable:on

        time -> until:time

         

        Do not distrub {off}

        Do not distrub {on} until {turned off}

        Do not distrub {on} until {time}           {2022/06/01}