Expand my Community achievements bar.

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

Avatar

Level 2

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

5 Replies

Avatar

Community Advisor

Hello Sushant,

You can try using this condition

Thanks,

Manoj


     Manoj
     Find me on LinkedIn

Avatar

Level 2

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.

------

Avatar

Community Advisor

Can you try with this?

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


     Manoj
     Find me on LinkedIn

Avatar

Level 6

Hi,

It should be possible by the following:

In this case, 1234 is your operator group id.

You may use group name also.

1852648_pastedImage_7.png

Avatar

Level 3

Hello sushantt36714249​,

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

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

</container>