Web service to modify the workflow management
Comments
-
What kind of programming api do you expect to work the Soap interfaces , Rest Interfaces or Oscript interfaces. Out of the 3 Oscript does have that and indirectly both Soap and Rest can be enhanced if not available. The workflow service api in soap is versatile although I do not fully know if changing management is one of them . I want also to know if the management is to be altered in flight why ? Isn’t it better to put a master manager and add people as needed ? Or is this a maintenance nightmare that you are trying to cover like the Initiator has full powers as in a poor design aspect ?0
-
Hi @Appu Nair ,
We are impersonating one user in web service(Soap Interface) and trying to update the workflow attributes.
The problem is, impersonated user don't have change data permissions(workflow management) in workflow and we don't want to give change data permission to that user. if user don't have this permission, update attributes call is not working because of permissions. So, we want to give permission on the fly to user and update the data and then revoke the permission.
Hope I have explained the scenario, please advise.
BR,
Khurram
0 -
@KhurramShehzadd It doesn't look like what you are after exists in SOAP perhaps REST I didn't check but knowing OT over the years it is rather unlikely that this obscure a command will exist in that stack also. If you know Oscript you have the option of doing this in SOAP,REST or a WR Custom tag out of which SOAP needs the Oscript implementation and logic and expect you to create WSDL's for .Net and Java which is very confusing .I have only done it once to expose a Binder or something like that took me several tries with non existent help and documentation. This would be much easier in REST and WR custom tag if you don't care if the soap interface.WF Data structures are not for the faintest of heart but lot of Oscript code exists in old forums etc. I have done most of my modern programming in REST and WR tags.
I still am not sold about your management tweaking. When we would design maps after we perfect logic we spend a good amount of time foreseeing problems related to management. So we create master managers with right permission for everyone else we give See, See Details. We also would check attachments and remove high Initiator permissions so WF Documents don't end up in search for everyone to find.
In most WF processes I have designed these were to prove to government and other entities that something was being done so the WF Audit Data was sacred. This is the reason why OT markets esign which is modelled after 21 CFR which is US FDA regulation so they all wont look at code tweaks lightly. My guess is if you change master manger the WF audits it so it may be allowed so should a modify route and so on, after all OT allows it. I created a graphic of how I usually put my maps.
As a trial I went and tried to change the management permissions and surprisingly it took it and never wrote to audit :) In my small system these things didn't work as planned at least in the GUI and what showed as error finally took effect so test the theory in the GUI before embarking on code:)
I was hoping to see if the management change I did went to audit perhaps it is a selectable audit
Sorry for the long post :)
Since you can invoke the GUI and do this all in the GUI my guess is if you look in fiddler you might be able to create a simple javascript utility or a WR Requests utility.
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 152 General Questions
- 148 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories