- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2016 01:03 PM
I need some help with a BR. I've tried everything I can think of to get it to work. I tried to do it with the Set Values in the BR with no luck.
Record Producer to Open a Request on Table "sn_sm_legal_request" - Then it creates a Task on table "sn_sm_legal_task" - The group that gets it needs to complete a question called CPA approved with a value of yes or no "u_cpa_approved" - There is a Question that needs to be set on Request Table "sn_sm_legal_request" with the same value.
So on Task answer Question and when that task is closed it updates the Request- Both values are same u_cpa_approved
Any ideas? - Thanks so much... I've been working at this for hours.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2016 01:50 PM
I understand. They have the same name, but they are on two different tables. That's not an issue at the database layer.
The line in my script (updated per your screenshots) does the work of copying the value from task's field to the requst's field.
req.u_cpa_approved = current.u_cpa_approved;

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2016 01:05 PM
This sounds like multiple business rules Wendy. If you break the problem down to each table, does that help?
You have one that creates a task after the request is opened.
When the task record is updated with the CPA approved, you have a second BR that is triggered that updates the same thing on the request.
Did I capture that correctly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2016 01:08 PM
I have a Workflow creating the Task. Then once the Task is updated with that value it should update the Request. I tried to do it in the WF but that wouldn't work either. I have a value that is being set is how I am triggering the WF. Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2016 01:10 PM
Ah, OK. Thanks for the clarification around the record relationships. Let the workflow continue to do the task creation - they're good at that.
So you really just need a business that says "If the CPA Approval checkbox is checked on the task, update the same field on the parent request", right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2016 01:13 PM
Yep exactly - I couldn't find a way to do that. Thanks