Have any of you that might be on the Ultimate license term used or experimented with Business Rules (underneath Setup)? I have found it can be a good tool, like a Swiss Army knife, to use in situations where you might not think of a solution. I'll share a few instances below that have been useful for our firm and would love to hear how others utilize the function.
Please share any examples you have, I think this is an overlooked feature that has many uses for users...let help everyone out....
토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.
We needed to prevent any edits on a project/task when the project is in a certain status - including custom forms. Simple, but effective. We used the trigger = On object edit for both.
Example of what we use for Project:
IF( $$BEFORE_STATE.{status}="CPL" && $$AFTER_STATE.{status}="CPL","Status must be changed from Complete in order to edit.")
IF( $$BEFORE_STATE.{project}.{status}="CPL" && $$AFTER_STATE.{project}.{status}="CPL","Status must be changed from Complete in order to edit.")
조회 수
답글
좋아요 수
I was just thinking about Business Rules last week, wondering if one could be applied for project creation, that it must have a portfolio and a project owner? Pretty sure they'd have to be two separate rules, but wondering how it would play out for the user, like where would they see error messaging for lack of portfolio and owner?
조회 수
답글
좋아요 수
I used business rules for a client of mine. They have fields that must be updated on the project form before the project can be closed but don't need to be supplied from the start. It happens during the process so business rules seemed like the best option.
There are a few things I discovered while setting it up that users should be aware of. The first two make management of the rules a little difficult IMO
IF({project}.{group}.{ID}="XXXX" &&
{project}.{categoryID}="XXXX" &&
{templateTask}.{name}="XXXX" &&
$$AFTER_STATE.{status}="CPL" &&
(ISBLANK({project}.{DE:FIELD NAME}) || ISBLANK({project}.{DE:FIELD NAME}) ),
"Required fields need to be updated",
IF({project}.{group}.{ID}="XXXX" &&
{project}.{categoryID}="XXXX" &&
{templateTask}.{name}="XXXX" &&
$$AFTER_STATE.{status}="CPL" &&
(ISBLANK({project}.{DE:FIELD NAME}) || ISBLANK({project}.{DE:FIELD NAME})|| ISBLANK({project}.{DE:FIELD NAME})),"Required fields need to be updated"
))
We are in the process of testing a Business Rule for project names not to include special characters. This will help us when we create our SharePoint folders from the project name not to have an error message.
We also have one set up for a team that is for now allowing a request to be entered without documents attached to it.
조회 수
답글
좋아요 수