We are developing Custom UWL connector with Substitution feature. Here we are able to manage Substitution rules using our custom SubstitutionManager class. For this system, we have defined separate substitution profile. I can see this profile name in drop down while creating new substitution rule using UWL UI.
But If I create rule using that profile,following error message displayed for AdHocSystem.
"System does not support these tasks"
As per my understanding it should not valid for AdhocSystem tasks. I have used following code to define substitution profile.
SubstitutionProfile subProfile = new SubstitutionProfile("SAMPLE_ALL", "Sample Tasks", "Sub Profile for Sample Provider", "SapmpleUwlProvider", systemId);
Please correct me If I am wrong.