Date Help in PA Flow
Hi friends. I have a flow to update staff and faculty relationships and for new staff we want to add a non-constituent organization relationship with their employment information. The connector action to add an organization relationship requires a relation id so I can't use that. What I came up with is adding the information I need for an import to a table in an xlsx file, then creating a csv file in my hosted files so it can be picked up as part of a Queue import. Everything works great, except the date. It is good in the xlsx file, but changes when the CSV file is created and thus the import? Any ideas? Thanks for the help!



Comments
-
-
Hey @Dan Snyder, use an expression like this
addDays('1899-12-30', int(item()['ORFromDate']), 'dd-MM-yyyy')
1 -
@Alex Wong
But what was the problem with creating the relationship using SKY API?0 -
@Matt Thacker and @Alex Wong Thanks for the quick response and pointing me to the expression, that did the trick!
To your question Alex, here is where I have issues adding a non-constituent organization relationship with the connector action. The relation ID being required is the issue that prevents me from being able to add a new non-constituent relationship. It may be that we are not following how BB intends for relationships to behave in RE, but it has been our process so was following that when building this flow. Thanks again for a quick response!
0 -
@Dan Snyder
Doesn't look like the relation_id is required by the SKY Post Relationship endpoint, so you could do this with HTTP requests if you wanted to keep the process in a flow. Not that there's any need to change it if your import system is working!1 -
@Ben Regier Yes, I thought I might try that too even though it was a little outside my comfort zone, but trying it in the endpoint reference page I was not able to get it to work (I didn't try all that hard either). What I did first was just remove the relation id and hit send and received an error (below). Seemed to make sense so I added relation in and still got an error (also below). At that point I felt I was closer with my import process so I moved on ?. If you are able to tell us where I went awry I would love to learn. Thanks!


Response removing relation_id 
0 -
@Dan Snyder
use the Send HTTP request action and use this endpoint:This is the request body:
{
"constituent_id": "458424",
"type": "CEO",
"reciprocal_type": "Company",
"relation": {
"type": "Organization",
"name": "New non-constituent org name",
}
}This will create non-constituent org relationship:
1 -
Although..re-reading your OP… i'm wondering why you create non-constituent org relationship instead of a constituent org relationship with an actual org record that is your org? (i'm assuming you are putting in new staff's employment information for your org, not all theie previous employment info).
0 -
@Alex Wong You make a good point and that may be the direction we head in the future, but for now we are just keeping consistent with past practice for a non-con relationship. Not sure there is a good reason for doing it that way other than “it's always been done that way.”
0 -
@Dan Snyder
I hear you, not always easy to change a past decision on how certain things are done.if you want…try the request body json i sent and see if you want to automate the relationship creation.
1
Categories
- All Categories
- 6 Blackbaud Community Help
- 209 bbcon®
- 1.4K Blackbaud Altru®
- 394 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 359 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 646 Blackbaud Grantmaking™
- 563 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 934 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.4K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 243 ResearchPoint™
- 118 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 238 The Tap (Just for Fun)
- 33 Blackbaud Community Challenges
- 28 PowerUp Challenges
- 3 (Open) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 779 Community News
- 2.9K Jobs Board
- 53 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)


