AnsweredAssumed Answered

Finesse SampleGadget Not Ready Reason codes.

Question asked by ThomasGunnar on Apr 9, 2015
Latest reply on Apr 10, 2015 by ThomasGunnar

Hey.

 

Im playing with the Samplegadget, and need to find out have to go not ready with and reasoncode.

 

The button works perfect without reasoncodes, but not with reasoncodes

 

This is from the .js file (made the function myself)

    setUserStateNotready: function (ReasonCode) {
        user.setState(states.NOT_READY, ReasonCode);
    },

 

And this is my call from the .xml file

onClick="finesse.modules.SampleGadget.setUserStateNotready(1);

 

Have also tried with

onClick="finesse.modules.SampleGadget.setUserStateNotready("1");


with no luck.


Please advise


Regards

Thomas

Outcomes