Delivery action "Prepare and start" visible for particular operator group | Community
Skip to main content
Level 2
November 9, 2019

Delivery action "Prepare and start" visible for particular operator group

  • November 9, 2019
  • 3 replies
  • 12209 views

I want to make changes xtk.workflow input form for "   <form name="delivery" type="notebook"> ". want to visible the following code for particular operator group

<input checkedValue="2" label="Prepare and start" type="RadioButton" xpath="@actionType"/>

Something like

            <container type="visibleGroup" visibleIf=".....">

            <input checkedValue="2" label="Prepare and start" type="RadioButton"

                   xpath="@actionType"/>

            </container>

what should i use in visible-if condition to check operator group or name rights

Please help needed.

Thanks in advance.

somasundaramhaldurai

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

Manoj_Kumar
Community Advisor
Community Advisor
November 11, 2019

Hello Sushant,

You can try using this condition

Thanks,

Manoj

Manoj  | https://themartech.pro
Level 2
November 11, 2019

Hi manojk62306941

I tried the above but it dint worked.

below is the error which i got when used delivery activity in WF.

Element 'currentOperator' is unknown (see definition of element '/delivery' in schema 'Workflows (xtk:workflow)').

------

The path '/activities/delivery/currentOperator' is invalid in schema 'Workflows (xtk:workflow)'.

------

XTK-170036 Unable to parse expression 'currentOperator/operatorGroup/@group-id='123''.

------

The graphical component 'delivery' has generated an error.

------

Manoj_Kumar
Community Advisor
Community Advisor
November 11, 2019

Can you try with this?

[currentOperator/operatorGroup/group/@id]='GROUP ID'

Manoj  | https://themartech.pro
somasundaram_h
Community Advisor
Community Advisor
November 11, 2019

Hi,

It should be possible by the following:

In this case, 1234 is your operator group id.

You may use group name also.

Level 2
November 11, 2019

Hello sushantt36714249​,

<container  type="visibleGroup" visibleIf="HasNamedRight('GROUP')=true">

     <input required="true" xpath="@actionType"/>

</container>