Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultiValueRemoveIfMatch and MultiValueRemoveIfNotMatch are inverted #15

Closed
antoniopanella opened this issue Aug 3, 2020 · 2 comments
Closed
Labels

Comments

@antoniopanella
Copy link

antoniopanella commented Aug 3, 2020

Dear team, I want remove all attributes from a multivalue attribute that not match a specific Pattern
But I Found that do this are inverted
IF i use MultiValueRemoveIfNotMatch it remove all values within the pattern
<FlowRule Name="employeetype" Direction="Import" xsi:type="FlowRule"> <SourceExpression> <Source Name="ou" xsi:type="MultiValueAttribute"> <Transforms> <Transform xsi:type="MultiValueRemoveIfNotMatch" Pattern="^.*(dipendenti|esterni|registered|alum|studenti).*$" /> <Transform xsi:type="MultiValueConcatenate" Separator="|" /> </Transforms> </Source> </SourceExpression> <Target Name="employeeType" ActionOnNullSource="SetDefault" DefaultValue="n/a" /> </FlowRule>

If I use MultiValueRemoveIfMatch it works correct and keep only values in the pattern.

@stale
Copy link

stale bot commented Oct 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs.

@stale stale bot added the stale label Oct 2, 2020
@stale stale bot closed this as completed Oct 9, 2020
@ruliane
Copy link

ruliane commented Feb 21, 2023

Easy to fix : ruliane@7768460

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants