Hi @Minh Phan
As far as I understand, you would need to configure for those functions in the config. file, which help to transition the states within your workflow. For reference, you may refer the application and smart contract samples which are available on GitHub. Let us know if this helps.
Thanks,
Sana