Announcement

Collapse
No announcement yet.

Enable Formula Script for Manual Workflow Conditions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Enable Formula Script for Manual Workflow Conditions

    Hey Guys,


    We come across a use case where we need to use formula script for conditions to show the manual workflow button. This would really enhance the manual workflow button feature, and based on a previous feature request i have put before (this would allow to show the button to only certain use using code like below:

    PHP Code:
    env\userAttribute('id') == 'some-user-id' && status == 'Pending' 

    This would really help a lot.

    Thanks

  • #2
    Formula is backend only. Showing/hiding button is frontend. Unlikely to be implemented. Would be too hacky.

    Comment


    • #3
      If we implement $currentUserId, $currentUserTeamIds special fields for dynamic logic, it will solve the problem.

      For now, you can create a view setup handler that will hide the button.

      Comment


      • #4
        > If we implement $currentUserId, $currentUserTeamIds special fields for dynamic logic, it will solve the problem.

        If that would solve the issue, it would be great addition.

        Can i use set up handler to hide a manual workflow button?

        Thanks

        Comment

        Working...
        X