Is it possible to manually trigger a flow on list using SharePoint interface

I have an instant flow on a SP list, which accepts a parameter > Get Items > filter by the parameter and automatically creates some entries in other lists.

This flow works perfectly on flow.microsoft.com but I cannot find a way to call this flow on SharePoint list, on SP interface, without actually going to flow site.

Is this possible? I’m hoping it’s a yes!

Thank you!
Ova

authorization – Is oauth client credentials flow safer than basic authentication with username and password?

Assuming that both travel over the latest version of TLS, why should I use client credentials?

The obvious answer is:

  1. The access token will expire at some point
  2. The client id and secret will travel only once over the wire
  3. We can also use a refresh token, further strengthening the security

I argue that we could also make the username/password travel only once and share a session token that will too expire quite easily.

So in this scenario, is the refresh token the only reason to use it?

sidebar – Expandable active filter list – user flow

Currently, I try to implement active filters list to a fixed side filter bar. When the user will scroll through data always will be able to preview the active filter list without having to scroll to the top of the landing page. The issue appears when the user chooses many filters and the list starts to be really long. To simplify the preview of the side filter bar we decided to limit the amount of data to 4 rows – this way user learns that such a section exists and it’s able to expand the list to preview all active filters. My concern is – what if the user will expand the active filters view and decides to close it afterward. What’s the best user flow? Close it at all or return to the initial state when the user is able to preview a few rows of active filters? My thinking is that if the user closes the active filters then he’s not interested in seeing them anymore and the opened section will cause a scrollable side filter bar which can decrease its usability…Does anyone have some suggestions regarding good user flow? Additionally, it would mean that this element might have 3 different states. I’m just concerned if that’s an appropriate approach? enter image description hereenter image description here enter image description here

Unable to Edit Commerce Checkout Flow Settings

When attempting to configure Checkout Flow instances (eg, /admin/commerce/config/checkout-flows/manage/default) clicking on the ‘Settings’ (cog) icon for any of the panes generates an ‘AssertionError‘ and the settings cannot be altered.

AssertionError: The container was serialized. in assert() (line 28 of /app/web/core/lib/Drupal/Core/DependencyInjection/Container.php)  
#0 /app/web/core/lib/Drupal/Core/DependencyInjection/Container.php(28): assert(false, 'The container w...')
#1 (internal function): DrupalCoreDependencyInjectionContainer->__sleep()
#2 /app/web/core/lib/Drupal/Component/Serialization/PhpSerialize.php(14): serialize(Array)
#3 /app/web/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php(80): DrupalComponentSerializationPhpSerialize::encode(Array)
#4 /app/web/core/lib/Drupal/Core/Form/FormCache.php(197): DrupalCoreKeyValueStoreDatabaseStorageExpirable->setWithExpire('form-GQXUq0kLih...', Array, 21600)
#5 /app/web/core/lib/Drupal/Core/Form/FormBuilder.php(459): DrupalCoreFormFormCache->setCache('form-GQXUq0kLih...', Array, Object(DrupalCoreFormFormState))
#6 /app/web/core/lib/Drupal/Core/Form/FormBuilder.php(437): DrupalCoreFormFormBuilder->setCache('form-GQXUq0kLih...', Array, Object(DrupalCoreFormFormState))
#7 /app/web/core/lib/Drupal/Core/Form/FormBuilder.php(629): DrupalCoreFormFormBuilder->rebuildForm('commerce_checko...', Object(DrupalCoreFormFormState), Array)
#8 /app/web/core/lib/Drupal/Core/Form/FormBuilder.php(321): DrupalCoreFormFormBuilder->processForm('commerce_checko...', Array, Object(DrupalCoreFormFormState))
#9 /app/web/core/lib/Drupal/Core/Controller/FormController.php(91): DrupalCoreFormFormBuilder->buildForm(Object(Drupalcommerce_checkoutFormCheckoutFlowForm), Object(DrupalCoreFormFormState))
#10 (internal function): DrupalCoreControllerFormController->getContentResult(Object(SymfonyComponentHttpFoundationRequest), Object(DrupalCoreRoutingRouteMatch))
#11 /app/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#12 /app/web/core/lib/Drupal/Core/Render/Renderer.php(573): DrupalCoreEventSubscriberEarlyRenderingControllerWrapperSubscriber->DrupalCoreEventSubscriber{closure}()
#13 /app/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): DrupalCoreRenderRenderer->executeInRenderContext(Object(DrupalCoreRenderRenderContext), Object(Closure))
#14 /app/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): DrupalCoreEventSubscriberEarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#15 /app/vendor/symfony/http-kernel/HttpKernel.php(151): DrupalCoreEventSubscriberEarlyRenderingControllerWrapperSubscriber->DrupalCoreEventSubscriber{closure}()
#16 /app/vendor/symfony/http-kernel/HttpKernel.php(68): SymfonyComponentHttpKernelHttpKernel->handleRaw(Object(SymfonyComponentHttpFoundationRequest), 1)
#17 /app/web/core/lib/Drupal/Core/StackMiddleware/Session.php(57): SymfonyComponentHttpKernelHttpKernel->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true)
#18 /app/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): DrupalCoreStackMiddlewareSession->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true)
#19 /app/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): DrupalCoreStackMiddlewareKernelPreHandle->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true)
#20 /app/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupalpage_cacheStackMiddlewarePageCache->pass(Object(SymfonyComponentHttpFoundationRequest), 1, true)
#21 /app/web/core/modules/ban/src/BanMiddleware.php(50): Drupalpage_cacheStackMiddlewarePageCache->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true)
#22 /app/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): DrupalbanBanMiddleware->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true)
#23 /app/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): DrupalCoreStackMiddlewareReverseProxyMiddleware->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true)
#24 /app/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): DrupalCoreStackMiddlewareNegotiationMiddleware->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true)
#25 /app/web/core/lib/Drupal/Core/DrupalKernel.php(708): StackStackedHttpKernel->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true)
#26 /app/web/index.php(19): DrupalCoreDrupalKernel->handle(Object(SymfonyComponentHttpFoundationRequest))
#27 {main}

This behaviour is not seen on other Drupal forms across the site, including other pieces of Commerce, so the assumption is that the cause is the Checkout module.
Where similar errors have been reported elsewhere in Drupal, it’s usually down to the Controller class not using DependencySerializationTrait, but this seems to be implemented in /commerce/modules/checkout/src/Controller/CheckoutController.php

The bad news is that I cannot replicate it: rolled another quick site using just Drupal 8.9.9 and Commerce 8.x-2.21 and the expected behaviour is working correctly.

Proposed resolution

I’ve no idea what’s causing this, and whether it is a config issue, or an issue with the code. As with every other Drupal site, there are lots of other modules, but it’s knowing where to start…

git – Quick “Github flow” releases without integration tests

We’ve recently moved to the Github flow branching model (feature branch out of master > code > deploy completed feature branch into qa env & test > once approved, merge back to master > deploy to production).

Currently, our QA can test each feature branch separately and approve it which will let us merge it back to master. However, since we don’t have automated integration tests, our team asks for a manual integration test of the master branch before a new release is sent out of it for UAT & then to production.

In case of not having automated integration tests, is our only way forward to have a manual integration test each time we want to release out of master? Is there a faster way?

p.s. We’re planning of covering our modules with proper automated integration tests, but a somehow quick approach until we do so will be helpful.

real analysis – Definition of the flow of an ODE and its inverse

At lesson, the teacher considers a flow $Phi$ given by the solutions of the ode system for $tin(0, T)$ and $xinmathbb R^d$,
$$
begin{cases}
y'(s)=b(y(s), s),&sleq T\
y(t)=x
end{cases},qquad(star)
$$

that is $Phi(x, t, s)=y(s)$ solving $(star)$. He said that we will be mostly concerned with $Phi(cdot, 0, cdot)$. The field $b$ is assumed to be Lipschitz continuous in both variables and bounded.

Then, he intoduces the inverse $Psi$ of the above flow as follows: $Psi(x, 0, s)=y(s)$ satisfying
$$
begin{cases}
y'(s)=-b(y(s), t-s),&s<tleq T\
y(0)=x
end{cases},
$$

and he said that $Psi$ is such that
$$
Phi(Psi(x, 0, s), 0, s)=x,quad Psi(Phi(x, 0, s), 0, s)=x.qquad (starstar)
$$

I do not understand $(starstar)$. Can someone help me? Maybe is the definition of the inverse wrong?

Thank you

sharepoint online – pause until – Condition || Microsoft Flow

Stack Exchange Network


Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

data flow analysis – Reaching definition: what is “entry” and “exit”?

I am currently studying the textbook Principles of Program Analysis by Flemming Nielson, Hanne R. Nielson, and Chris Hankin. The section on reaching analysis in chapter 1 presents the following:

Example 1.1 An example of a program written in this language is the following which computes the factorial of the number stored in $mathrm{x}$ and leaves the result in $mathrm{z}$:
$$(y := x)^1 ; (z := 1)^2 ; text{while} (y > 1)^3 text{do} ((z := z * y)^4 ; (y := y – 1)^5) ; (y := 0)^6$$
enter image description here

Reaching Definitions Analysis. The use of distinct labels allows us to identify the primitive constructs of a program without explicitly constructing a flow graph (or flow chart). It also allows us to introduce a program analysis to be used throughout the chapter: Reaching Definitions Analysis, or as it should be called more properly, reaching assignments analysis:

An assignment (called a definition in the classical literature) of the form $(x: = a)^{mathscr{l}}$ may reach a certain program point (typically the entry or exit of an elementary block) if there is an execution of the program where $x$ was last assigned a value at $mathscr{l}$ when the program point is reached.

Consider the factorial program of Example 1.1. Here $(y := mathrm{x})^1$ reaches the entry to $(z := 1)^2$; to allow a more succinct presentation we shall say that $(y, 1)$ reaches the entry to $2$. Also we shall say that $(mathrm{x}, ?)$ reaches the entry to $2$; here “$?$” is a special label not appearing in the program and it is used to record the possibility of an uninitialised variable reaching a certain program point.

Full information about reaching definitions for the factorial program is then given by the pair $text{RD} = (text{RD}_{entry}(mathscr{l}), text{RD}_{exit}(mathscr{l}))$ of functions in Table 1.1. Careful inspection of this table reveals that the entry and exit information agree for elementary blocks of the form $(b)^mathscr{l}$ whereas for elementary blocks of the form $( x := a)^mathscr{l}$ they may differ on pairs $(x, mathscr{l}^prime)$. We shall come back to this when formulating the analysis in subsequent sections.

Returning to the discussion of safe approximation note that if we modify Table 1.1 to include the pair $(z, 2)$ in $text{RD}_{entry}(5)$ and $text{RD}_{exit}(5)$ we still have safe information about reaching definitions but the information is more approximate. However, if we remove $(z, 2)$ from $text{RD}_{entry}(6)$ and $text{RD}_{exit}(6)$ then the information will no longer be safe – there exists a run of the factorial program where the set ${ (mathrm{x}, ?), (y, 6), (z, 4) }$ does not correctly describe the reaching definition at the exit of label $6$.

This textbook’s explanations are very unclear, but I seem to understand the $text{RD}_{entry}(mathscr{l})$ values after reading this Wikipedia article. However, I still do not understand what $text{RD}_{exit}(mathscr{l})$ means, and nor do I understand how the authors are getting those values. What does $text{RD}_{exit}(mathscr{l})$ mean? What is the difference between $text{RD}_{entry}(mathscr{l})$ and $text{RD}_{exit}(mathscr{l})$? How do the authors get the values for $text{RD}_{exit}(mathscr{l})$ in table 1.1?

Magento2 staging Update work flow question

Hi I would like to know beside staging_update table, where I can find the related items information? such as I set a schedule special price start date and end date. Where I can find the start date and end date of this item from database?

Thanks

sharepoint online – Create a PowerApp’s Approval Requests CDS Browse screen to show a link to the MS Flow Approval items

I want to build a PowerApp which shows the MS Flow requests from this page:-

enter image description here

So first step i did is that i add a new PowerApp from CDS >> Approval Requests, as follow:-

enter image description here
enter image description here

Where i will get this Browse screen automatically:-

enter image description here

Now i need to modify this Built-in browse screen, to show URLs which will take the user to the MS flow Approve/Reject screen.. i found that i can access these data..

enter image description here

But i am not sure if i can use/benefit from this data to build a URL to the MS Flow Approvals items? so the user from the PowerApp Browser screen can click on a link which will open this MS flow screen to provide a response:-

enter image description here