Change chnage in script logic from Squidex Version 4.0.2 to 4.2.0

Hi we had this script that worked before the upgrade, but doesn’t work in version 4.2.0

if (ctx.status === ‘Published’ && !ctx.oldStatus) {
reject(‘Please save content and then schedule publishing afterwards.’);

Has there been any update to the script part ?

What do you mean with “it does not work”?

It is “statusOld” now … but I can introduce a fallback for that. Sorry

No worries, it’s a small change from out end, thanks :slight_smile:

1 Like