We have a requirement of creating a case via file listener. I have generated the data mapping rules including the parse XML using the Connector and Metadata accelerator. The parse XML has been created in class ABC-CD-EE-Work-Int-Import. The service file which processes the XML has the primary page as ABC-CD-EE-Work and so while simulating the service , it is failing because the engine is searching for the parse XML in the class ABC-CD-EE-Work.
Tried changing the context of the primary page but to no avail. Can anyone provide a stepwise guide on how to achieve the same?
Also, can we use the svcAddWorkObject activity to create the case after parsing?
SvcAddWorkObject will do the trick. Normally in case of Agent or Listener based work object creation we do use this activity. Check if the parsing rule is in the same class. It will only fail in case if the parsing rule is not in the rule resolution or currently if its availability is blocked or withdrawn. Show me the code on Monday :) ...