Softwr

Automation Integration · head to head

Activiti vs AWS Serverless Application Model (AWS SAM)

Activiti logo

Activiti

Automation Integration

Apache 2.0 BPMN engine under Hyland, from which Flowable and Camunda were forked

From
Free
Free plan
Yes
AWS Serverless Application Model (AWS SAM) logo

AWS Serverless Application Model (AWS SAM)

Developer Tools

Open-source framework and CLI for building serverless apps on AWS

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Activiti lists BPMN 2.0 engine; only AWS Serverless Application Model (AWS SAM) lists SAM connectors for IAM permissions.
  • Where AWS Serverless Application Model (AWS SAM) falls short: targets AWS only, so templates are not portable to other cloud providers.

How do Activiti and AWS Serverless Application Model (AWS SAM) differ?

Activiti and AWS Serverless Application Model (AWS SAM) differ on pricing model, platforms and category. Only the attributes on which Activiti and AWS Serverless Application Model (AWS SAM) actually diverge.

Attributes where Activiti and AWS Serverless Application Model (AWS SAM) differ
AttributeActivitiAWS Serverless Application Model (AWS SAM)
Pricing modelOpen source, no licence feeOpen-source
PlatformsLinux, Windows, Self-hostedWindows, macOS, Linux
CategoryAutomation IntegrationDeveloper Tools

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for AWS Serverless Application Model (AWS SAM).

Which features does each one have?

They share no listed features; 6 appear only for Activiti and 7 only for AWS Serverless Application Model (AWS SAM). Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Activiti

  • BPMN 2.0 engine
  • Activiti Cloud
  • Modeler
  • Java and REST APIs
  • Pluggable persistence
  • Identity integration

Only in AWS Serverless Application Model (AWS SAM)

  • SAM template shorthand for CloudFormation
  • SAM CLI project scaffolding with sam init
  • Local testing of Lambda functions and API endpoints
  • sam sync for syncing local changes to the cloud
  • SAM connectors for IAM permissions
  • Terraform project debugging support
  • CI/CD pipeline support

What is each one used for?

AWS Serverless Application Model (AWS SAM) is most often brought in for defining Lambda and API Gateway applications as code. The jobs each tool is most often brought in to do.

Activiti

  • An Alfresco or Hyland content services deployment where Activiti is already the embedded workflow enginenot AWS Serverless Application Model (AWS SAM)
  • A Java application that needs to embed a BPMN engine as a library under a permissive licencenot AWS Serverless Application Model (AWS SAM)
  • An organisation that has ruled out Camunda 8 on licence grounds and needs an Apache 2.0 alternativenot AWS Serverless Application Model (AWS SAM)
  • Document-centric approval workflows where the process engine sits inside the content management stack rather than beside itnot AWS Serverless Application Model (AWS SAM)

AWS Serverless Application Model (AWS SAM)

  • Defining Lambda and API Gateway applications as codenot Activiti
  • Testing Lambda functions locally before deploymentnot Activiti
  • Building CI/CD pipelines for serverless appsnot Activiti
  • Converting console-created resources into templatesnot Activiti

Where do Activiti and AWS Serverless Application Model (AWS SAM) fall short?

AWS Serverless Application Model (AWS SAM)'s most cited limit: targets AWS only, so templates are not portable to other cloud providers. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Activiti

  • The last stable release was 8.2.0 in January 2024, and while release candidate builds continue, a two-year gap between stable versions is a real risk signal for a production dependency
  • Both Camunda and Flowable forked away and took large parts of the contributor base with them, so the community, tutorials and third-party tooling around Activiti are much thinner than around either fork
  • Commercial support is only realistically available by buying Hyland Alfresco subscriptions, so there is no way to pay for Activiti support on its own
  • Activiti Cloud imposes a distributed architecture of several Spring Boot services plus Keycloak, which is heavy for teams who simply wanted an embeddable engine
  • Documentation is dated and partly split between old Alfresco sites and Hyland Connect, and the transition between Activiti 6, 7 and 8 architectures makes much of the older material actively misleading

AWS Serverless Application Model (AWS SAM)

  • Targets AWS only, so templates are not portable to other cloud providers
  • Local testing of functions depends on Docker being installed and running
  • Requires an AWS account, the AWS CLI and configured credentials before first use
  • Declarative templates, so complex logic needs CloudFormation or the AWS CDK instead
  • Does not cover non-serverless infrastructure on its own, which falls back to CloudFormation

How much do Activiti and AWS Serverless Application Model (AWS SAM) cost?

Activiti is free to use; AWS Serverless Application Model (AWS SAM) is free to use. Plan by plan below, from each vendor's own pricing page.

Activiti

Free
  • ActivitiFree
    • Apache 2.0 licence
    • Embeddable Java library or Activiti Cloud services
    • No usage limits

AWS Serverless Application Model (AWS SAM)

Free

No published plan breakdown. See the AWS Serverless Application Model (AWS SAM) review.

Which should you pick?

Choose Activiti if

  • You need bpmn 2.0 engine.
  • You want to start without paying.
  • You work on Linux, Windows, Self-hosted.
  • You also want activiti cloud.

Choose AWS Serverless Application Model (AWS SAM) if

  • You need sam template shorthand for cloudformation.
  • You want to start without paying.
  • You work on Windows, macOS, Linux.
  • You also want sam cli project scaffolding with sam init.

Questions people ask

Is Activiti or AWS Serverless Application Model (AWS SAM) better?
It depends on the job. Activiti fits an Alfresco or Hyland content services deployment where Activiti is already the embedded workflow engine; AWS Serverless Application Model (AWS SAM) fits defining Lambda and API Gateway applications as code. Activiti starts at Free and AWS Serverless Application Model (AWS SAM) at Free.
Which is cheaper, Activiti or AWS Serverless Application Model (AWS SAM)?
Activiti starts at Free and AWS Serverless Application Model (AWS SAM) at Free.
Does Activiti or AWS Serverless Application Model (AWS SAM) run on more platforms?
Activiti runs on Linux, Windows, Self-hosted. AWS Serverless Application Model (AWS SAM) runs on Windows, macOS, Linux.
Can I use Activiti for free?
Both have a free tier, so you can try either at no cost before committing.
What is Activiti best used for?
Activiti is most often used for an alfresco or hyland content services deployment where activiti is already the embedded workflow engine, a java application that needs to embed a bpmn engine as a library under a permissive licence, an organisation that has ruled out camunda 8 on licence grounds and needs an apache 2.0 alternative, document-centric approval workflows where the process engine sits inside the content management stack rather than beside it. Of those, an alfresco or hyland content services deployment where activiti is already the embedded workflow engine and a java application that needs to embed a bpmn engine as a library under a permissive licence are not what AWS Serverless Application Model (AWS SAM) is typically brought in for.
What can Activiti do that AWS Serverless Application Model (AWS SAM) cannot?
Activiti covers BPMN 2.0 engine, Activiti Cloud, Modeler, Java and REST APIs. AWS Serverless Application Model (AWS SAM) covers SAM template shorthand for CloudFormation, SAM CLI project scaffolding with sam init, Local testing of Lambda functions and API endpoints, sam sync for syncing local changes to the cloud.

Answered from the vendors’ own pages

Activiti: Is Activiti still maintained?

Yes, Hyland continues to publish builds, but the last stable release was 8.2.0 in January 2024.

AWS Serverless Application Model (AWS SAM): What is AWS SAM?

AWS SAM is an open-source framework for building serverless applications with infrastructure as code. It consists of a template syntax that extends CloudFormation and a command-line tool.

Source
Activiti: What is its relationship to Camunda and Flowable?

Both are forks of Activiti: Camunda in 2013 and Flowable in 2016, when core developers left Alfresco.

AWS Serverless Application Model (AWS SAM): Which operating systems does the SAM CLI support?

AWS publishes installers for Linux on x86_64 and arm64, macOS on Intel and Apple silicon, and a 64-bit Windows MSI. macOS versions older than 13.x are not supported.

Source
Activiti: What licence is it?

Apache 2.0, which distinguishes it from Camunda 8’s source-available licence.

AWS Serverless Application Model (AWS SAM): What licence does AWS SAM use?

The serverless-application-model repository on GitHub is licensed under Apache-2.0.

Source
Activiti: Should I choose Activiti for a new project?

Only if the Apache licence or an existing Alfresco deployment is decisive. Flowable and Camunda have far larger ecosystems.

AWS Serverless Application Model (AWS SAM): How does SAM differ from the AWS CDK?

The documentation says to use SAM instead of the CDK if you prefer a declarative approach to describing infrastructure rather than a programmatic one. The two can also be combined, using the SAM CLI's local testing with CDK applications.

Source
Share

Related pages

Other head to heads