The DB is not useful for this because they are creating materials with all views therefore it would always return true. I need to check the parameter for each particular workflow instance.
The maintenance status is already a parameter on the Start Event for VIEWCREATED (BUS1001006). The problem is I am unable to access it with swc_get_element. So, I created my own object and did the binding to pass the value of the parameter to my object but when I try to access its value, I am also unable to do that. Please refer to the errors I received in my earlier post. BUS1001006 is delegated to BUS1001 and maintenance status is actually a parameter for BUS1001. I am wondering if that is preventing me from accessing it in my check fm.