Automate Task change within Ayon

Hi,
What is the best way to automate task status change ?
I would like to change status form “waiting do start” to “in progress” when the first workfile is created (mainly nuke but this can be done for other DCC or at launcher stage ?-

Then I would like to change status to “pending review” when a new version is published.

Several posts are dealing with Kitsu or Ftrack … I guess the best way is to do it internally within Ayon (I have a sync with shotgrid).

Where can I find any documentation to make it happen.
Shall I modify an existing python script or use hook ?

Any help would be appreciated, I do not know how to start to make this custom adjustment as I have not found any kind of automation possible through the web interface of AYON.

Thanks a lot,

Kr,

1 Like

@milan I believe within AYON Studio subscriptions there’s an automations addon that can do this, right?

Yep, this is indeed in the Automation addon which will be available commercial imminently. At the moment it was distributed to existing clients, but it will be part of the AYON Pro subscription very soon

1 Like

Hi thank you @milan ,
I would be interested to see how I can integrate it on our local hosted server.

Another option that can be of interest for us is to improve the shotgrid add-on for that kind of automation, I think there are some similar options for Kitsu add-on.
Is there a way to improve the shotgrid add-on to change task status (within ayon or shotgrid) when there is a publish ?

Kr,

Just adding my 2 cents.

This can be achieved by implementing a launch hook that changes task status on application launch.
Such hook can be added to your studio addon, skipping adding any customaztions to vanilla AYON addons.

This can be done by implementing that in Shotgrid addon in compliance to Status change on user action #73 | ayon-kitsu OR add an integrate plugin in your studio addon that set statuses on publishing.

Thanks @mustafa_jafar
Indeed I will check what has been done for kitsu and try to mimic it for shotgrid.

In that case that means that for any “new version” of addon I will have to rebuild the addon with the changes and the hook, right ?

Kr,

Only if you are adding your changes to the official addons. e.g. you cloned shotgrid addon and added your hook there. then you’d need to maintain that change.

However, you added the hook to a custom addon (your studio addon) then you’ll refrain from this maintenance.

1 Like

Hi,

Are you referring to this kind of hook ?
(I guess not, as it seems to be used for Loader, not for DCC start)

Ah, you probably meant this :