Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

sushantt3671424
Level 2
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
Manoj_Kumar_
Community Advisor
Community Advisor

Hello Sushant,

You can try using this condition

Thanks,

Manoj

sushantt3671424
Level 2
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.

------

Manoj_Kumar_
Community Advisor
Community Advisor

Can you try with this?

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

somasundaramhal
Level 5
Level 5

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

Yassine_N
Level 3
Level 3

Hello sushantt36714249​,

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

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

</container>