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

The 4th edition of the Campaign Community Lens newsletter is out now!

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

1 Reply

Avatar

Community Advisor

Hello Sushant,

You can try using this condition

Thanks,

Manoj

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'

Avatar

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

Avatar

Level 3

Hello sushantt36714249​,

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

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

</container>