We are in the processes of testing all our processes and apps against the LF 9.2 suite. One issue in particular we have now encountered seems to be a serious change in behaviour.
We have Web service that was writing using the SDK9.0 using the RA components. The Web Service has different methods to interact with the Repository which includes, Creating a Document, Changing Metadata and attaching a Electronic Attachment to an Entry. It is called by 2 different 3rd party application and runs perfectly in our Production environment still on LF9.0.2 Server and WF9.1
In our QA environment, where the testing currently taking place, the same applications was working fine when it was still on 9.0.2 Server and 9.1 WF. We then upgraded both LF Server and WF to 9.2 and then noticed the following:
When a New document is uploaded by any of the 2 3rd party applications, in Subscriber, the Create Event is not reflected. So Workflow does not start on the respective entry. It only reflects the Change event when field data is writing to the entry using the same web service.
It would seem there might be a change in behaviour when the RA9.0 objects are communicating with the 92. Server objects.
This is the code we are using to perform the create:
Document.Create(“\*Admin Restart\*Incoming\Sage\New”, “DEFAULT”, EntryNameOption.AutoRename, myData.session);
This the code we use to perform a update of field values, which is reflecting in subscriber as a Change event:
DocumentInfo docInfo = (DocumentInfo) (Entry.GetEntryInfo(449672, myData.session)); docInfo.SetTemplate(“MyTest”); FieldValueCollection fieldValueCollection = new FieldValueCollection(); FieldInfo myFieldInfo = Field.GetInfo(“MyMulti”, myData.session); fieldValueCollection.Add(“MyMulti”, "2014-07-04"); docInfo.SetFieldValues(fieldValueCollection); docInfo.Save(); docInfo.Dispose();
Please note that the same Web service when pointing to our Production environment works fine and the events are correctly registered in subscriber.
What could be the problem here?