Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define interface for custom signee logic #788

Open
Tracked by #793
HauklandJ opened this issue Sep 24, 2024 · 0 comments
Open
Tracked by #793

Define interface for custom signee logic #788

HauklandJ opened this issue Sep 24, 2024 · 0 comments
Assignees

Comments

@HauklandJ
Copy link
Contributor

HauklandJ commented Sep 24, 2024

Part of the Parallell signing epic.

App developers should be able to implement an interface for the purpose of calculating the signees dynamically.

We plan to have a config property on the singing task in bpmn.xml where the app developer specifies which implementation of the interface should be used for that task. An ID-prop on the interface will be used to identify the correct implementation.

The interface implementation can for instance look at the datamodel from a previous task and extract relevant info to determine the signees.

pseudo:

string SigneeLogicId
List<Signee> GetSignees(Instance instance, string TaskId)
@HauklandJ HauklandJ changed the title Implement interface for custom signee logic Define interface for custom signee logic Sep 24, 2024
@HauklandJ HauklandJ transferred this issue from Altinn/app-template-dotnet Sep 24, 2024
@HauklandJ HauklandJ transferred this issue from Altinn/altinn-studio-docs Sep 24, 2024
@bjorntore bjorntore self-assigned this Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 👷 In Progress
Development

No branches or pull requests

2 participants