Has anyone successfully used the ArcGISBranchVersionManager transformer to automate reconcile and post operations for branch versioned layers? I created the web connection to our enterprise portal and tested it as specified in this article and even connected to my version, so I know the web connection works but when I configure the ArcGISBranchVersionManager transformer to use the same feature layer with my version I get a rejected feature with this message: “`fme_rejection_message' has value `stopEditing failed for session {xxxxxxxxxxx}: The ArcGIS REST API returned an error: HTTP Error Code: : 'The workspace is not being edited.' Message Code . Further details: 's]''”. It seems like maybe I’m not configuring the workspace correctly but I don’t see any option to start an edit session. Below is the screenshot of my workspace. I am at FME(R) 2024.2.2.0 (20250114 - Build 24820 - WIN64) .
Thanks!
Page 1 / 1
I just tried this out on a Utility Network feature service and had no problem reconciling and posting. I’m on FME 2024.2.4 (slightly newer patch).
Can you share screenshots of the configuration for both the reconcile and post ArcGISBranchVersionManager transformers?
Hi @cfvonner
I’m really glad you’ve had success with the transformer! This is the configuration for the reconcile transformer. The post is the same with Action = post.
Did you initiate the reconcile and post with the creator like I did? All I need the workspace to do is reconcile and post.
Yes, my test was with just a Creator and two ArcGISBranchVersionManager transformers.
Is your “Enterprise Portal Web Connection” using credentials for a user that can edit? Is that user a member of the Portal group where the feature service has been shared as content? Does that user have the right role/license in Portal?
It might not be obvious but reconciling and posting both involve edits to the data, especially if there are changes in the DEFAULT version that haven’t yet been reconciled into your edit version.
Yes, the credentials used to establish the web connection is an administrator user account that has the advanced editor add-on license assigned. The feature service is shared with the organization.
The named version is NOT owned by the admin account, however. Do you think that is the problem? The named version that I want to reconcile and post is from a different user that has edited the data. I would like to use an admin account for the r&c if possible.
I tested using a Portal account that is not an admin and is not the owner of the feature service and I was able to reconcile and post.
I was going to ask if the version you are trying to reconcile and post was “private” version, but I tried a “private” version too.
What version of ArcGIS Enterprise are you using?
You might try stopping/restarting the feature service (sometimes that shakes out weird behaviors). If that doesn’t work, I’d suggest opening a support ticket.
Stopping and restarting the feature service worked. Thank you!