Is it possible to change ctx.status to another during update/create/delete scripts? Is there any way that when e.g. isOn field === true then ctx.status = ‘Published’ and replace()? I tried to do it using a query to the api with a jsonPut method updating the status but it works bad because when doing a save it displays a message that someone else edited this content.
No, it is not possible.