cancel
Showing results for 
Search instead for 
Did you mean: 

How can i disable the transformer service behaviour when i create or update a node on java code ?

4535992
Star Collaborator
Star Collaborator

I need to disable the call to transformers in a specific piece of java code how can I do it ?

I know I have to disable the behaviour, but I am misconfiguring .....

            // Disable the behaviour which prevents the call to the transformers.
            behaviourFilter.disableBehaviour(myNode, <WHAT I PUT HERE ??>);
            try
            {
               <MY CODE FOR CREATE AND UPDATED NODE>
            }
            finally
            {
                behaviourFilter.enableBehaviour(myNode, <WHAT I PUT HERE ??>);
            }

any suggestion ? or alternative solution ?

1 ACCEPTED ANSWER

angelborroy
Community Manager Community Manager
Community Manager

There is no behaviour for that.

Why do you want to disable the call to the Transform Service?

Hyland Developer Evangelist

View answer in original post

2 REPLIES 2

angelborroy
Community Manager Community Manager
Community Manager

There is no behaviour for that.

Why do you want to disable the call to the Transform Service?

Hyland Developer Evangelist

Is a strange use case of mine for aovid a conflict between multiple actions, but if it can't be done, it doesn't matter