I need to store workflow ID. Where can I find the ID of my workflow - workflow

I need to store workflow ID. Where can I find the ID of my workflow in Unqork?

Open your workflow . Check the Google Chrome browser URL
Same like an example below
https://training.unqork.io/#/workflow/workflowId/edit
Above URL in between workflow and edit is the workflow ID will be present in your workflow.

Related

Email on asset unpublish AEM OOTB

I want to send mails to user when his asset gets unpublished using the OOTB feature.
So, after I configure the Day CQ Mail Service and add email ID to the user details, is there anything else that I need to do? Or will the user automatically receive the email?
You can configure a workflow launcher to run on publish with the event type "node removed". In your workflow model you are going to check if the deleted node is a dam resource and if so, the next step is to configure an email step to send an email to your preferred user. The user and his email should exist on publish. If your users exist only on the author instance, you need a custom step with some kind of publish author notification mechanism or alternativ reverse replication.

Merge PR by Github action if review was approved by a user

Is it possible to configure Github actions workflow to merge pull request if it was approved (submitted review with approve keyword) by one of the users (static fixed list, which can be written in workflow config file)? I tried to find it in documentation: https://help.github.com/en/articles/workflow-syntax-for-github-actions#on
- I suppose I can use on: [pull_request_review] trigger for action, but documentation didn't mention how to access event payload in action yaml file, where I need to extract reviewer login from this payload.
I found this in https://help.github.com/en/articles/virtual-environments-for-github-actions#filesystems-on-github-hosted-machines:
workflow/event.json: The POST payload of the webhook event that triggered the workflow. GitHub rewrites this each time an action executes to isolate file content between actions. Use the GITHUB_EVENT_PATH environment variable to access this file.
So the next step will be figuring out how to parse a JSON file and extract some data that a later step can use. For that, looking at GitHub's setup-dotnet action might prove useful. In line 62 of installer.ts, they call a function called core.exportVariable, which as you can see here, causes ##[set-env name=NAME;]value to be printed in the action's output. I've personally verified that this causes the environment variable called NAME to automatically be present in later steps of the same workflow job.
Now, I don't yet know if you can simply do echo "##[set-env name=NAME;]$VALUE" in a run step of a GitHub workflow and have that work; it's possible that you'll have to write a custom action in Typescript to get access to core.exportVariable. But once you have parsed the JSON, that would be one way of passing that information on to later steps in your job.
In addition of rmunn's answer, you might also want to protect your branch:
GitHub Actions: Prevent GitHub Actions from approving pull requests (2022, 14th Jan.)
We have introduced a new policy setting that controls whether GitHub Actions can approve pull requests.
This protects against a user using Actions to satisfy the "Required approvals" branch protection requirement and merging a change that was not reviewed by another user.
To prevent breaking existing workflows, Allow GitHub Actions reviews to count towards required approval is enabled by default.
However, an organization admin can disable it under the organization's Actions settings.
That way, you are sure approvals were made exclusively by users, not by other actions.

Automate when a UserStory is resolved,upload video from attachment to Yammer as new post as an attachment. The Title of US would be the contents

We're trying to automate when UserStories are resolved in Azure Devops, the attached video on the UserStory gets posted as a New Yammer Post where the contents includes the Title of the UserStory and the video is saved as an attachment to the post. This helps our company keep up to date with new functionality added to the system, to try and keep everyone updated with developments each build.
Since this feature does not supported by service hook or other UI of Azure Devops.
You can try with one third-party website Zappier, and try with Post Yammer messages for updated Visual Studio Online work items.
After click Try it, you will be direct to the page that need you specified the org and Yammer account. Please follow the page step to configure it.
After configure it, please edit the message which you want to achieve:
And then, according to your demand to specified the configuration of Azure Devops and Yammer event condition:

AX 2012 Workflow All Information in a form

I am working on Ax2012 workflow. I need to know about the table in data dictionary where all the information of configuration of the workflow stores. I know I have to trace many tables to get all the information i.e users , Final Approver , Comments , Description, User whom which workflow are assigned , Workflow Steps , Sequences of the workflowItems etc. I need to know tables from which I can get this Information.
I need all the information of the workflow.
Workflow Assigned to the users.
Comments when workflow Submitted
Comments when some accept the workflow
Workflow Descriptions
Workflow last Approval
User Who submit the workflow
All the paths in the workflow of the configuration
like
1st path(Start---->condition------>True Condition approval)
2nd path(Start---->condition------>false condition approval)
Thanks For helping me out.
Here is the Tutorial of getting all possible paths of workflow configuration
https://github.com/SohaibAnwaar/Ax-2012-Tutorials/tree/master/AX/july/18%20July
Tutorial of getting all the information related to the workflow in the form
https://github.com/SohaibAnwaar/Ax-2012-Tutorials/tree/master/AX/july/13%20july
Details of the Workflow

custom content type with designer workflow

I am developing a designer workflow with 3 approvals here is my flow.
Requester will submit his request through Asp.net form.
Request will go first for 1 Approvar for approval.
if he approved then go 2 and its go until all approved.
My requirement is when request go for approval , approvar will see the details of the request and can change the request(only specific approvar) and he will see other approvar comments
so, for these kind of requirement I am going to create custom content type where I will show the request data and as well as task update according to the approvar response.
Is my understanding correct?
If you have any link or solution/example please share it with me .