Forum Discussion

SKMundra's avatar
SKMundra
New Contributor III
3 years ago

Is there any way that we can stop users from running Force Consolidate for a given period

hello all, please suggest if there is a way that we can stop users from running Force Consolidate for a given period? 

  • Hi all

    There is an event handler to control front end actions. You can use it to prevent a force consolidate. You will find the details here.

    You just need to check the condition (i.e. that it is a force consolidate) and then cancel the action. If you like to inform the user, that force consolidate is disabled, you need to trigger an error and control the error message.

    But use it careful, you can stop the front-end from working correctly, because a bug prevents functions that trigger the event handler to fail.

     

    Regards Christian

  • ChristianW's avatar
    ChristianW
    Valued Contributor

    Hi all

    There is an event handler to control front end actions. You can use it to prevent a force consolidate. You will find the details here.

    You just need to check the condition (i.e. that it is a force consolidate) and then cancel the action. If you like to inform the user, that force consolidate is disabled, you need to trigger an error and control the error message.

    But use it careful, you can stop the front-end from working correctly, because a bug prevents functions that trigger the event handler to fail.

     

    Regards Christian

    • Clifton's avatar
      Clifton
      New Contributor II

      Thanks for sharing this information Christian.  I am getting a access denied error when I click on the link you provided above.  Do you know what kind of access I need to see it? 

      • ChristianW's avatar
        ChristianW
        Valued Contributor

        Hi Clifton, please contact you Onestream services contact or your partner (if you are a customer) to get the information. Regards Christian

    • aanasim's avatar
      aanasim
      New Contributor

      hi there, using a wcf event handler, there's only an option to check if it is calculate when checking if it is running for consol or calculate using wcfeventhandler servicetype . calculate. do you have a snippet to check if OS is running a consol as opposed to calculate?

  • I just spent 10 hours yesterday fixing just this issue.  Someone accidently hit Force Consol vs Consol.  There should be a second prompt at minimum saying are you sure on any Force.  Hopefully it is on the list of improvements.

  • SKMundra's avatar
    SKMundra
    New Contributor III

    Hi Clarke, agree .. Same issue we are facing somewhere, really spent too much time on it now..