Highlighted

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

Avatar

Avatar

sushantt3671424

Avatar

sushantt3671424

sushantt3671424

09-11-2019

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

Replies

Highlighted

Avatar

Avatar

_Manoj_Kumar

MVP

Avatar

_Manoj_Kumar

MVP

_Manoj_Kumar
MVP

11-11-2019

Hello Sushant,

You can try using this condition

Thanks,

Manoj

Highlighted

Avatar

Avatar

sushantt3671424

Avatar

sushantt3671424

sushantt3671424

11-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.

------

Highlighted

Avatar

Avatar

_Manoj_Kumar

MVP

Avatar

_Manoj_Kumar

MVP

_Manoj_Kumar
MVP

11-11-2019

Can you try with this?

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

Highlighted

Avatar

Avatar

somasundaramhal

Avatar

somasundaramhal

somasundaramhal

11-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.

1852648_pastedImage_7.png

Highlighted

Avatar

Avatar

Yassine_N

Avatar

Yassine_N

Yassine_N

11-11-2019

Hello sushantt36714249​,

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

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

</container>