Migrating heritage services that can be started by using a REST API
If you used the system-wide configuration property <startservice-valid-services> from previous releases, you might need to perform additional steps listed below to get your scenario running again.
About this task
In earlier releases, the start of a (heritage) service by using the Service REST API was
unrestricted, or could be restricted by service type by using the system-wide configuration property
<startservice-valid-services> in the 100Custom.xml file. By contrast, service flows can be
configured with greater granularity.
- For a service flow, you configure the permission separately by using the Ajax Access property on the Overview tab of the service flow editor.
- When converting a heritage service into a service flow, the setting is configured automatically:
- If you convert a heritage Ajax service, the resulting service flow is configured to allow Ajax calls from all users.
- For all other types, for example, a general system service, the Ajax Access property is set to
"Do not allow Ajax calls". Important: In this case, if you used the system-wide <startservice-valid-services> property to allow other types of services to be startable by using the REST API, your converted service will not be startable from the REST API unless you configure the Ajax Access property appropriately.
Procedure
To reenable your scenario: