I would like to open the existing "Create Task" form after some actions in the action. It looks like I should use ftrack.action.trigger-user-interface (as trigger remotely) but I don't understand what data should be set. Is it possible in general?
Something like this
def open_form(self, user_id):
self.session.event_hub.publish(
ftrack_api.event.base.Event(
topic='ftrack.action.trigger-user-interface',
data=dict(
type='form', #here?? CreateTaskForm
success=True,
),
target='applicationId=ftrack.client.web and user.id="{0}"'.format(user_id)
),
on_error='ignore'
)