Skip to Content.
Sympa Menu

comanage-dev - Re: [comanage-dev] Enrollment Flow Operational Record Creation

Subject: COmanage Developers List

List archive

Re: [comanage-dev] Enrollment Flow Operational Record Creation


Chronological Thread 
  • From: Scott Koranda <>
  • To: Benn Oshrin <>
  • Cc: comanage-dev <>
  • Subject: Re: [comanage-dev] Enrollment Flow Operational Record Creation
  • Date: Sun, 12 Apr 2015 08:26:16 -0500

On Fri, Apr 10, 2015 at 9:09 PM, Benn Oshrin
<>
wrote:
> Currently, enrollment flows basically complete in one gigantic step, with
> subsequent confirmation and approval steps. The petition artifact
> (historical record of what attributes were created at petition creation time
> -- these go in cm_co_petition_* tables) and the operational records
> (cm_co_people and various other tables) are created at the same time. This
> means, for example, that if you view "My Population", you'll see both active
> records and records in various petition states.
>
> As part of the big refactoring, the one gigantic step is being broken up
> into several smaller steps. This will allow, for example, attributes to be
> collected at multiple stages (eg: from the petitioner, from the enrollee,
> and from the approver), for petitions to be edited before they are
> finalized, etc. This creates two options for when attributes get populated
> into operational records:

By operational records do you primarily mean the cm_org_identities and
cm_co_people (and associated like cm_co_role_assignments) records/tables?

>
> (1) As soon as they are known. This is complicated because if (eg) the
> petition is edited before the it is finalized, we'll need to copy the
> updated attributes to the operational record. If the operational record is
> updated before the petition is finalized, the petition won't necessarily be
> updated. This could lead to various confusing situations where the petition
> attributes and the operational attributes are not in sync before the
> petition is finalized.
>
> (2) Upon petition finalization. This is after any confirmation and approval
> steps are completed. The downside of this approach is that these records
> won't show up in "My Population", or maybe that's not a downside.

It is not a downside. I think right now people find it confusing that a
CoPerson
is shown in "My Population" before the enrollment process is "completed".

> However,
> it's possible that multiple petitions could create conflicting operational
> records if they're created in parallel, depending on how we implement
> matching.
>
> Thoughts as to which option is better?

I think (2) is better.

Thanks,

Scott



Archive powered by MHonArc 2.6.16.

Top of Page