Expand my Community achievements bar.

SOLVED

Custom Named Right for Workflow xml Edit.

Avatar

Community Advisor

Hi,

Can there be a a custom named right for workflow xml edit access.

Currently, only the the Admin can edit an workflow xml. I have a requirement to provide some operators the access to edit the workflow xml but not to be an Admin.

 

Thanks,

Deb

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

 

Edit XML is part of the console binary and not modifiable as a command.

Everything users can do with XML they can do with the graphical UI, so prob should probe more into what's driving that requirement.

 

Thanks,

-Jon

View solution in original post

7 Replies

Avatar

Correct answer by
Community Advisor

Hi,

 

Edit XML is part of the console binary and not modifiable as a command.

Everything users can do with XML they can do with the graphical UI, so prob should probe more into what's driving that requirement.

 

Thanks,

-Jon

Avatar

Community Advisor

Thanks Jon for your response.

There are some workflow to be edited where it is easy to do directly in the xml than from the workflow UI by editing activities. But those particular operators need Admin Access as this is the only way to do it so far. I was checking other possible options without giving Admin access

Avatar

Community Advisor
Editing XML or exporting XML, editing, then importing XML?

Avatar

Community Advisor
Hello Deb007, you can also put a custom form for a particular activity : the @form attribute of an activity define the form to use when editing. You can build your own form and specify this one for your activities, with the "HasNamedRight" xtk expression to help ?

Avatar

Community Advisor
Hi Cedric, Thanks for your response. Would you mind just elaborate the idea bit more?

Avatar

Community Advisor

Edit the XML and add a "form" attribute in the activity with the name of a custom form :

CedricRey_0-1621283380040.png

You can copy the original form and add / change what you need.