Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - RubenK

Pages: [1]
1
Hi Andy,

Did something happened with your feature request? Or do you have a workaround?

We are now facing the same issue.

2
General Board / Re: Workflow script - Basic user approval
« on: December 12, 2016, 10:34:39 pm »
Yay its working!! :D Thanks for the help!

3
General Board / Re: Workflow script - Basic user approval
« on: December 12, 2016, 09:04:31 pm »
Hi Simon,

Thanks for the help and explanation.
I changed the scipt but i m still struggeling on this. My script runs in a workflow group, and after switching users it should activate.
However a user from "GroupB" can still change the status of a package from proposed to approved.
Script is now:
option explicit

!INC Local Scripts.EAConstants-VBScript

dim ERROR_OUTPUT
ERROR_OUTPUT = "MessageBox"

public function AllowStatusUpdate( OldValue, NewValue )
   dim currentUser, currentItem
   set currentUser = WorkflowUser
   set currentItem = WorkflowContext
   
   If OldValue = "proposed" and NewValue = "approved" and WorkflowContext.Metatype = "Package"  Then
      AllowStatusUpdate = WorkflowUser.IsMemberOf("GroupA")
   else
      AllowStatusUpdate = true
   end if
   
end function

i think that WorkflowContext.Metatype = "Package" is not doing what i want, but im not sure.
If anyone has any idea what i am doing wrong let me know!

4
General Board / Workflow script - Basic user approval
« on: December 09, 2016, 10:08:47 pm »
I have a problem with implementing just a simple user approval system in EA.
So what we want is; usergroup A can change the status of a package in the model from proposed to approved.
Other usergroups can not do this change..

My idea was that workflowscripts is the best way to solve this, and I have tried to write a script for this.

public function AllowStatusUpdate( OldValue, NewValue )

   dim currentUser, currentItem
   set currentUser = WorkflowUser
   set currentItem = WorkflowContext
   
   If OldValue = "proposed" and WorkflowUser.IsMemberOf("GroupA") and NewValue = "approved" and WorkflowContext.Metatype = "Package"
   Then
      AllowStatusUpdate = true
   else
      AllowStatusUpdate = false
   end if
   
end function

However, this is not doing anything. Does anybody have experience with this? And what am I doing wrong?

5
General Board / Re: Basic Approval Workflow
« on: November 14, 2016, 11:00:47 pm »
Hi Steve,

Im curious to know how you solved the basic approval issue.
I also want to use this, but i cant find a standard solution for it.
Flow: User A can change status of a package to proposed. User B have the rights to change status to approved or rejected.


6
General Board / Re: Linking attributes and OWL problems
« on: September 22, 2016, 03:38:36 pm »
Thanks Glassboy, the first linking problem is solved! Now we are still trying to get the OWL model work. Hopefully someone can help us with that.

7
General Board / Linking attributes and OWL problems
« on: September 20, 2016, 11:06:37 pm »
Hi Guys,

We are investigating the possibility of using EA in our work enviroment. We have a data model for producing schemas.
It is critical for us to make associations at attribute level. How can we link in EA on attribute level?

Also we are using OWL for storing and maintaining a business glossary of terms (we imported some RDF files). Does someone know you to generate an UML model out of OWL?
And how do we link atributes in OWL?

Hope someone can help us!

Pages: [1]