function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
LinThawLinThaw 

ANT Migration Error on Custom Notification Action

Hi there,

When deploying a flow contain custom notification with ANT Migration tool, I got following error.

Error: CustomNotif (Action) - The action type "Send Custom Notification" can't be used in flows with the process type "Screen Flow".

Any suggest? Thank in advance.
Regards,
LinThaw
Best Answer chosen by LinThaw
AnudeepAnudeep (Salesforce Developers) 
Hi LinThaw, 

Are you using API version > 45.0? If not can you upgrade to V46.0 or V47.0 and check if the issue persists?

"Version
CustomNotificationType components are available in API version 46.0 and later."

Reference:
https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_customnotificationtype.htm?search_text=CustomNotificationType

Anudeep

All Answers

AnudeepAnudeep (Salesforce Developers) 
Hi LinThaw, 

Are you using API version > 45.0? If not can you upgrade to V46.0 or V47.0 and check if the issue persists?

"Version
CustomNotificationType components are available in API version 46.0 and later."

Reference:
https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_customnotificationtype.htm?search_text=CustomNotificationType

Anudeep
This was selected as the best answer
LinThawLinThaw
Thanks Anudeep, with v46.0 is worked!