BS-10116, use enum type for input
BS-10189, change execute task api payload structure